Write a program to print the following Pattern by using for loop -002

Pattern:

1 2 3 4 5
1 2 3 4
1 2 3
1 2
1