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 rows,i,ii,iii,spaces;int main(){ ** ** * *** * * * ** * * * * ** * ** ** ** * ** * * *** * ** * * * * * * * *** ** ** ** * ** * ** * ** * * * * and output