7-6 统计大写辅音字母
来源:互联网 发布:知乎问题 编辑:程序博客网 时间:2024/05/01 08:53
//统计大写辅音字母#include<stdio.h>int main(){int i=0;char str[80];printf("Enter a string:");while((str[i]=getchar())!='\n')i++;str[i]='\0';int count=0;for(i=0;str[i]!='\0';i++){if(str[i]>='A'&&str[i]<='Z'&&str[i]!='A'&&str[i]!='E'&&str[i]!='I'&&str[i]!='O'&&str[i]!='U'){count++;}}printf("有%d个大写辅音字母\n",count);return 0;}
阅读全文
0 0
- 7-6 统计大写辅音字母
- C经典 输入字符串,并统计字母个数,首字母大写
- Java程序,判断一个字母是元音还是辅音
- 辅音字母发音音标总结(持续更新)(20160708)
- POJ-3049 字母排列组合 (元音辅音要求)
- c++头字母大写
- UITextField字母大写
- Android Studio 字母大写
- UITextField字母大写
- 字母统计
- 统计字母
- 字母统计
- 字母统计
- 字母统计
- 字母统计
- 字母统计
- 字母统计
- 字母统计
- 13.css精灵图
- Git管理多个SSH密钥,Git多帐号配置
- 点击跳转页面后加上的效果
- Android ShowDialog : IllegalStateException: Can not perform this action after onSaveInstanceState
- 拾趣小记,input 限制输入数字
- 7-6 统计大写辅音字母
- hdu6180Schedule-(贪心)
- NYOJ117
- Android快速实现横竖屏切换布局自动更改
- HTTP 协议详解
- 7-5 找鞍点
- UVA-129 困难的串
- 打印1到最大的n位数
- 深度学习统计学基础