#include<stdio.h>voidppt(char,int,int);
intmain(){
char maa[30];
printf("Please enter the character you want to print:");
scanf("%c",maa);
ppt(maa[0],3,3);
}
voidppt(char ch, int m, int n){
int i,j;
for (i=0;i<n;i++){
for(j=0;j<m;j++)
printf("%c ",ch);
printf("\n");
}
}