#include<stdio.h>
int main()
{char c;
int f,b,g,e;
printf(”从键盘随机输出字符;“);
if('a'<='c'&&'c'<='z'||'c'>='A'&&'c'<='Z')
f++;
else if(c==" ”)
b++;
else if(‘c'>='0'&&c<='9')
g++;
else
e++;
printf("所有字符个数为f=%d,b=%d,g=%d,e=%d,f,b,g,e);
return 0;
}