int main(){ int r,c,i,j;printf("输入行数,列数(以逗号隔开):");scanf("%d,%d",&r,&c);if (r<1||c<1)printf("输入错误\n");else{ for (i=1;i<=r;i++){ for (j=1;j<=c;j++){ if(i>1&&i<r&&j>1&&j<c)printf(" ");else printf("* ");} printf("\...