求大牛解答 c语言简单问题
#include<stdio.h>int main(void)
{
const unsigned int MIN_SIZE=3;
unsigned int w=0;
unsigned int h=0;
printf("输入高和宽(minimum of %u):",MIN_SIZE);
scanf("%u%u",&w,&h);
for(unsigned int i=0;i<w;++i)
printf("*");
for(unsigned int j=0;j<h-2;++j)
{
printf(\n*);
for(unsigned int i=0;i<w-2;++i)
printf(" ");
printf("*");
}
printf("\n");
for(unsigned int i=0;i<w;++i)
printf("x");
printf("\n");
return 0;
}
这段代码请问哪有问题