C program to print half pyramid

C program to print half pyramid


Input:

Enter n:
5

Output:

        *
      **
    ***
  ****
*****

Implementation: