字符输入不到
#include "stdio.h"void main()
{
int a,b,c;
float x,y,z;
char c1;
clrscr();
printf("Input a b c:");
scanf("%d%d%d",&a,&b,&c);yous
printf("Input x y z:");
scanf("%f%f%f",&x,&y,&z);
printf("Input ABC:");
scanf("%c",&c1);
printf("a=%d,b=%d,c=%d\n",a,b,c);
printf("x=%f,y=%f,z=%f\n",x,y,z);
printf("x+y=%f,y+z=%f,z+x=%f\n",x+y,y+z,z+x);
printf("c1=%c\n",c1);
}
为什么不能输出c1的?