1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

asterisk triangle in dev.c

Discussion in 'Meet and Greet' started by evarei, Sep 25, 2010.

  1. evarei

    evarei New Member

    pls help me out, how do i do this in dev.c its a bit difficult for a new student:

    Q. write a program that will display the following pattern,given the value of n.
    1.example if n=5, output will be:
    Code:
             *
           ***
         *****
       *******
     *********
    
    2.example if n=4,output will be:
    Code:
    ****
      ***
        **
          *
    
    txn 4 ur help :happy:
     
    Last edited by a moderator: Sep 25, 2010

Share This Page