[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> /* 输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的…… 题解列表 2023年07月05日 0 点赞 0 评论 118 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str…… 题解列表 2023年06月15日 0 点赞 0 评论 120 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:一、解题思路:C参考代码:#include <stdio.h> #include <string.h> int main() { char str[200]; int z = 0, s…… 题解列表 2023年05月02日 0 点赞 0 评论 96 浏览 评分:8.0
1012题: 字符串分类统计 摘要:# 自己写的代码 ```c #include #include int main() { char a[100]; int b=0,c=0,d=0,e=0; gets(a);…… 题解列表 2023年04月26日 0 点赞 0 评论 112 浏览 评分:0.0
字符串分类统计 摘要: #include int main() { char a[200]; gets(a); int n1 = 0, n2 = 0, n3 = 0, n4 = 0; int i = …… 题解列表 2023年04月20日 0 点赞 0 评论 196 浏览 评分:0.0
字符串分类统计C++ 摘要:解题思路:采用for循环输入,用gets而不用cin可以 输入空格注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ in…… 题解列表 2023年03月22日 0 点赞 0 评论 139 浏览 评分:0.0
字符串分类统计--个人题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; getline(c…… 题解列表 2023年03月15日 0 点赞 0 评论 132 浏览 评分:0.0
[编程入门]字符串分类统计-题解(C语言代码) 摘要:题目描述:输入一行字符,分别统计其中英文字符,数字,空格和其他字符的个数。输入一行字符输出统计值本题牵扯到的知识点有1如何访问一维字符型数组的所有元素2如何表示数字字符第一种:a[i]>=’0’&&a…… 题解列表 2023年03月05日 0 点赞 0 评论 142 浏览 评分:9.9
1012: [编程入门]字符串分类统计 摘要:```cpp #include #include #include using namespace std; /* 题目描述 编写一函数,由实参传来一个字符串,统计此字符串中字母、数…… 题解列表 2023年02月23日 0 点赞 1 评论 538 浏览 评分:9.9
字符串分类统计 十分十分十分简单的方法(c语言) 摘要:解题思路:1.输出字母个数2.输出数字个数3.输出空格个数4.输出其他字符个数注意事项:参考代码:#include<stdio.h> #include<string.h> void fun(cha…… 题解列表 2023年01月01日 0 点赞 0 评论 155 浏览 评分:9.9