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

Last edited by shabbir; 25Sep2010 at 11:46.. Reason: Code blocks