write a programme to enter a number bteween 1-9 and shows like, if entered number is 5
then
it shows like
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
and also
like this
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5