Write a program to Reversed pyramid using for loops & decrement operator.

 

12345

1234

123

12

1

 

 

Output: