解题思路:
注意事项:
参考代码:
#include<iostream>
using namespace std;
void test01()
{
char a;
int count =0;
while(cin>>a)
{
if((a>='a'&&a<='z') || (a>='A'&&a<='Z'))
{
count++;
}
}
cout<<count;
}
int main()
{
test01();
return 0;
}
0.0分
0 人评分
C二级辅导-计负均正 (C语言代码)浏览:675 |
C语言程序设计教程(第三版)课后习题5.5 (C语言代码)浏览:560 |
WU-图形输出 (C++代码)浏览:810 |
数对 (C语言代码)浏览:719 |
A+B for Input-Output Practice (V) (C语言代码)浏览:486 |
矩形面积交 (C++代码)浏览:1149 |
出圈】指针malloc版浏览:360 |
C语言程序设计教程(第三版)课后习题10.1 (C语言代码)浏览:540 |
陈教主的三角形 (C语言代码)浏览:1162 |
C语言程序设计教程(第三版)课后习题12.1 (C语言代码)浏览:653 |