当前位置:首页 > TAG信息列表 > 并输出?

并输出?

输入一个字符串统计字母个数 从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?

从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?

#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

输入一个字符串统计字母个数输入一串字符输出其中小写字母字符怎么转换成字符串


皖东会计网 鑫彬号

  • 关注微信关注微信

猜你喜欢

微信公众号