Print this pattern
Input
5
Output
1 121 12321 1234321 123454321
8
1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321
Hidden content!#include<stdio.h>int main (void){ int a,b,c,d,e; scanf("%d",&a); for (b=1;b<=a;b++){* * * *** * *** * * * * ** * * * * ** * * * * * * ** * (a!=1){* * ** * ***** * ** * * *** **** * ** * * * * (c=1;c<=a-b;c++){