为什么总是报错???“undeclared identifier”求解???
# include<stdio.h>int main(void)
{
do
{
int a,b,c;
char x;
printf("输入三个数字(以空格间隔)\n");
scanf("%d %d %d",&a,&b,&c);
if(a>b && a>c)
printf("%d\n",a);
else if(b>a && b>c)
printf("%d\n",b);
else
printf("%d\n",c);
printf("是否继续?(Y/N)");
scanf(" %c",&x);
}
while( x == 'y' );
return 0;
}