C program to print inverted triangle

C program to print inverted triangle

Output:

Enter height of the triangle:
5

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


Implementation: