题解 1035: [编程入门]自定义函数之字符类型统计

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

筛选

容易理解的C语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> void fun(char* a, int* num1, int* num2, int*……

使用ASCII码,求解,有可能超时

```c#includeintfilter();intmain(void){filter();return0;}intfilter(){intnumber=0,string=0,space=0,others=0,e;while((e=getchar())!=10){//getchar()一个个读取输入