2912统计输入的字符串中a和A的数目

2912   统计输入的字符串中a和A的数目

题目描述

从个控制台输入一个字符串,判断字符串中小写a和大写A的个数

输入格式:

一串带空格字符串

输出格式:

aA的总个数
输入样例 复制
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
输出样例 复制
a和A一共有9个

说明



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