C program to print inverted right triangle

C program to print inverted right triangle

Output:

Enter height of the triangle:
5

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


Implementation: