I have to write a nested loop using for statement to produce the following pattern if the user input is 5
Please enter an integer > 5 (this will be using printf and scanf to get the integer)
1
121
12321
1234321
123454321
and also another program (different coding) to produce the following pattern if user input is 5:
1
2 2
3 3
4 4
55555555
Please enter an integer > 5 (this will be using printf and scanf to get the integer)
1
121
12321
1234321
123454321
and also another program (different coding) to produce the following pattern if user input is 5:
1
2 2
3 3
4 4
55555555
Comment