从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?
#include<stdio.h>#include<string.h>main(){charch[100]inta=0,b=0,c=0,d=0,i=0printf(“input:”)获取(ch)while(ch[i]!=“0”{如果(ch[i]>=“a”&&&;amp&;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp
原文标题:输入一个字符串统计字母个数 从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?,如若转载,请注明出处:https://www.saibowen.com/news/18832.html
免责声明:此资讯系转载自合作媒体或互联网其它网站,「赛伯温」登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,文章内容仅供参考。