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(){ * * ** *** ** * * * * * * * * n;* * * * * ** ** * space; int i,j,k; * * ** ** ** ** * **** * * * * * *** ** ** ** ** * * * **** * * * * * * = n-1;