摘要: 1编写程序,统计字符串中大写字母的个数。 #include<stdio.h> main(){ char str[50]; int i=0; int length=0; gets(str); while(str[i]!='\0'){ if(str[i]>='A'&&str[i]<='Z') lengt 阅读全文
posted @ 2021-11-27 16:36 aaa橘子酱 阅读(11) 评论(0) 推荐(0)