题解 1012: [编程入门]字符串分类统计

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

字符串分类统计

摘要:解题思路:数字字符在‘0’-‘9’之间,英文字符在‘a’-‘z’和‘A’-‘Z’之间,空格为‘ ’注意事项:在输入字符的时候用gets(),scanf会把空格当作是连个单词的分隔符参考代码:#incl……

1012.字符串分类统计

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char ch; int letter,number,blank,other; letter=number=b……

1012: [编程入门]字符串分类统计

摘要:```cpp #include #include #include using namespace std; /* 题目描述 编写一函数,由实参传来一个字符串,统计此字符串中字母、数……