WEEK4 C 作业

1 输入一行字符,分别统计出其中字母,空格,数字和其他字符的个数 #include <stdio.h> void main() {  int letter, space, num, other;  char ch;  letter = space = num = other = 0;  while ((ch = getchar ()) != '\n')  {   if (ch>='a' && ch
相关文章
相关标签/搜索