#include<iostream>
using namespace std;
int main()
{
int num1 = 100;
int num2 = 120;
int num3 = 115;
int max = num1 > num2 ? num1 > num3 ? num1 : num3 : num2 > num3 ? num2 : num3;
cout << "最大的数字是:" << max << endl;
system("pause");
return 0;
}
08-30
3736
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-02
400
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-29
2418
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-31
1775
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-29
451
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)