Q17 Write a program to produce the 10 digits pyramid output: 1 2 3 4 5 6 7 8 9 10
Program: 110
Write a c program to produce the following pattern on computer screen:
1
2 3
4 5 6
7 8 9 10Output:
1
2 3
4 5 6
7 8 9 10