switch语句
来源:互联网 发布:淘宝商场代购 编辑:程序博客网 时间:2024/05/17 02:31
char c;
int i;
for(i=65;i<68;i++)//a,b,c
{
c=i+32;
switch(c)
{
case'a':
case'b':
case'c':cout<<c;break;
default:cout<<"end"<<endl;
}
}
Output:abc
0 0
- switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- Switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- switch语句
- Switch语句
- switch语句
- switch语句
- switch语句
- Android的系统服务
- C++ 输出迭代器
- pig的官方安装
- Why iperf dual traffic in 100Mbps envrionment is much less than 100M?
- c++获取程序目录
- switch语句
- HDU 2199 Can you solve this equation? 二分
- 使用Poi读取excel2007文件报java.io.IOException: Read error
- [unity3D插件]Unity界面插件NGUI核心组件说明
- 奇异值分解和图像压缩
- 《算法概论》思维导图
- ScottGu的VS2008 & VS2005两个配色方案[黑褐色]
- 大端模式、小端模式
- 实例操作——取得完整日期