Print Inverted Half pyramid using numbers in C programming

0
4
programming solution

 Question: 

Write a program that prompts the user to enter a int value and display the inverted half pyramid using numbers like output sample.

 Output Sample:   

InputOutput
3
3



4




5
1 2 3
1 2
1

1 2 3 4
1 2 3
1 2
1

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

 Source Code: 

 List of C Exercises: 

LEAVE A REPLY

Please enter your comment!
Please enter your name here