sunil panchal

sunil panchal

  • NA
  • 26
  • 8.9k

Print inverted pyramid

Mar 1 2018 1:26 AM
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)