2911字符串-统计字符串中a和A的数目

2911   字符串-统计字符串中a和A的数目

题目描述

有一个字符串,判断字符串中小写a和大写A的个数

字符串如下:

As he came into the window It was the sound of a crescendo. He came into her apartement. He left the bloodstains on the carpet

输入格式:

输出格式:

aA的总个数

输入样例 复制

					
输出样例 复制
a和A一共有9个

说明

字符串可以用在数组初始化。

716
1024
通过提交
时空限制1000ms/128mb
题目来源YW
评测方式在线评测
题目类型基础入门
难        度