C 语言 字符串统计 各类字符出现的次数
#include <stdio.h>int main(){ char c; int letters=0,space=0,num=0,other=0; printf("输入一行字符\n"); while((c=getchar())!='\n') if((c>='a'&&c<='z')||(c>='A'&&c<='Z')) le