how can you code to print the following output using C programing:
this is like a pyramid, it is narrow at the top and it becomes wide as it goes to the bottom.
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1
and what about to print the reverse of the above:
thanks
1 2 3 4 5 4 3 2 1
1 2 3 4 3 2 1
1 2 3 2 1
1 2 1
1




Reply With Quote