OUTPUT:
30
Press any key to continue
Question 4:
(1 mark, file to be edited: Q4.c)
Your program allows to print out a pattern using numbers with rows of 'n' entered by the user, 'n' is an integer number.
Below is an example when the user enters 'n' = 5
5
OUTPUT:
1
123
12345
1 2 3 4 5 67
1 2 3 4 5 6789
Press any key to continue
Zoom
+ 100%
Close