以下程序统计输入的一行字符中字母、数字、空格、其它字符的个数(行末以换行符' '结束,最后的换行符不统计在内)。 #include int main() { int letters=0, digits=0, spaces=0, others=0; char ch; while( (ch=getchar())!= (1) ) { if( (2) || (ch>='A'&&ch<='Z')) letters++; else...