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
1
printf("%d",1);
printf("%3d",121);
printf("%5d",12321);
printf("%7d",1234321);
so on....
printf("%3d",121);
printf("%5d",12321);
printf("%7d",1234321);
so on....
Similar questions
Art,
8 months ago
Social Sciences,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
Science,
1 year ago
Math,
1 year ago