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

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

筛选

字符串分类统计

摘要:解题思路:注意事项:参考代码:#include <stdio.h>   #include <string.h> int main() {     int letters = 0, digit……

字符串分类统计C++

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){char a[200];cin.get……

for循环统计(c语言)

摘要:解题思路:注意事项:如果不是if{}else if{}的形式,内存会过大。参考代码:#include #include int main(void) {     char str[200];……

【编程入门】字符串分类统计

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {      char ch[200];  //字符串的定义……

python用for解决

摘要:解题思路:注意事项:参考代码:str=input()a,b,c,d=0,0,0,0for i in str:    if (i>=&#39;A&#39; and i<=&#39;Z&#39;) or ……