1
Answer

Print inverted pyramid

sunil panchal

sunil panchal

7y
7.8k
1
I want to print an inverted pyramid of given number.
For example, If I input 14 then it prints 14 stars in inverted pyramid form.
as like this 

 * * * * * * *
   * * * * *
      * *
Input will be any number above 5. I have no need to print pyramid when input is 5.
Answers (1)