admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Print Inverted Pyramid

Suraj Ghimire
42 Posts

WAP to print the below inverted Pyramid,If N is given, where N is the height of the pyramid.

If N=5, the output should be the below pyramid

 
* * * * * * * * *
  * * * * * * *
    * * * * *
      * * *
        *
 
Published By : Suraj Ghimire
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin