C program to print the following pattern: 12345 4321 123 21 1

C program to print the following pattern:


12345
4321
123
21
1
Solution: