Computer Science, asked by amitghorai4187, 1 year ago

The method takes an integer argument and prints the following pattern .shown for n=4
1
121
12321
1234321
12321
121
1

Answers

Answered by mohit9233
1
printf("%d",1);
printf("%3d",121);
printf("%5d",12321);
printf("%7d",1234321);
so on....
Similar questions