3.2.2 ifthen
来源:互联网 发布:终结者2网络连接失败 编辑:程序博客网 时间:2024/06/14 12:16
#include <iostream>using namespace std;int main(){int i;cout<<"type a number and 'Enter'"<<endl;cin>>i;if(i>5) cout << "It's greater than 5" <<endl;else if(i<5) cout << "It's less than 5" <<endl;else cout << "It's equal to 5 " <<endl;cout <<"type a number and 'Enter'"<<endl;cin>>i;if(i<10) if(i>5) cout<<"5<i<10"<<endl;else cout<<"i<=5"<<endl;else cout<<"i>=10"<<endl;}
- 3.2.2 ifthen
- IfThen/IIF/Case
- 慎用IfThen函数!
- Delphi 中的 IfThen 函数
- Delphi 中的 IfThen 函数
- ifthen宏包使用——条件判断与循环语句
- 3.2.2
- 3.2-2
- 3.2.2
- 3.2.2-2
- USACO 3.2.2 stringsobits
- USACO 3.2.2 Stringsobits
- USCAO 3.2.2
- USACO/kimbits 3.2.2
- USACO 3.2.2:Stringsobits
- C++ Primer 3.2.2
- 3.2三角形类2
- 3.2.2 Map接口
- C语言学习之关键字extern
- Common Lisp 符号计算引论第八章——递归 学习笔记
- 3.1.1 return
- 2年
- mini2440也即S3C2440地址分配问题
- 3.2.2 ifthen
- 数据库约束
- OC字符串对象的操作 方法集合
- 我会用时间证明一切 我爱你不只是说说而已.
- OC 数组对象的操作 方法集合
- 3.2.3 guess
- 如何一步一步打造高可扩展性的应用程序?soma.js 时钟程序
- C语言-结构体的3种用途
- 4. 结构体和联合体