输入一个字符串统计字母个数 从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?
从键盘上任意输入一串字符串,判断字符串中大写字母的个数,并输出?
#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
输入一个字符串统计字母个数 输入一串字符输出其中小写字母 字符怎么转换成字符串
版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。