字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {int a=0,b=0,c=0,d=0;char ch;while((ch=getchar())!='…… 题解列表 2021年11月15日 0 点赞 1 评论 614 浏览 评分:9.9
1012,好懂的方法 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ char a; int b=0,c=0,d=0,e=0,f=0; a=getchar(); while(a!=…… 题解列表 2021年11月10日 0 点赞 0 评论 816 浏览 评分:0.0
编程入门]字符串分类统计 摘要:解题思路:#include <stdio.h>#include <ctype.h>int main(){ int letter = 0,number = 0,blank = 0,others =…… 题解列表 2021年11月10日 0 点赞 0 评论 876 浏览 评分:0.0
1012 又学到了不少 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>int main(){ int i=0,j=0,x=0,y=0,c; …… 题解列表 2021年11月07日 0 点赞 0 评论 502 浏览 评分:9.9
字符串分类统计基础解法 摘要:解题思路:先输入字符串,然后统计英文字母、数字、空格、剩下的就是其他字符了。注意事项:注意字符要用单引号。要用与字符串有关的#include<stdio.h>.字符串最后有'\0',判…… 题解列表 2021年11月02日 0 点赞 0 评论 1174 浏览 评分:9.9
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[200]; int i; int c=0,v=0,b=0,n=0; for(i=0;i<=20…… 题解列表 2021年10月22日 0 点赞 0 评论 813 浏览 评分:9.9
[编程入门]字符串分类统计 摘要:解题思路:注意事项:注意:字母分为大小写。所以有两个范围。参考代码:#include<stdio.h> int main() { int a=0,b=0,c=0,d=0,ch; …… 题解列表 2021年09月07日 0 点赞 0 评论 554 浏览 评分:0.0
字符串分类统计另一种方法 解题思路:注意事项:参考代码:intcount1=0,count2=0,count3=0,count4=0;inti;charstr[200];gets(str);for(i=0;str[i]!='\0';i++){if(('a'<=str[i]&&str[i]<= 题解列表 2021年08月23日 0 点赞 0 评论 524 浏览 评分:0.0
1012: [编程入门]字符串分类统计 摘要:#include<stdio.h>int main(){ char I[100]; int x=0,y=0,m=0,n=0; int i=0,j; scanf("%c",&I[0]); while(I…… 题解列表 2021年08月17日 0 点赞 0 评论 871 浏览 评分:9.9
1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int letter=0,number=0,blank=0,others=0,c; while((c…… 题解列表 2021年07月12日 0 点赞 0 评论 614 浏览 评分:0.0