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>#include <stdlib.h>int main(){** * *** * *** ** * ** * ** a,i,j,space;** ** ***** * * * ** ** **** * * ** * ** * * for (i=1;i<=a;i++) {