哪错啦? visual 2015 运行结果是 0 0 0 1
#include<stdio.h>
int main()
{
char e;
int a = 0, b = 0, c = 0, d = 0;
while ((e = getchar()) != '\n');
{
if (e >= 'a'&& e <= 'z' || e >= 'A'&& e <= 'Z')
a=a+1;
else if (e == ' ')
b=b+1;
else if (e >= '0' && e <= '9')
c=c+1;
else
d=d+1;
}
printf("%d\n%d\n%d\n%d\n", a, b, c, d);
return 0;
}