12 lines
201 B
C++
12 lines
201 B
C++
|
#include <iostream>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
int a, b;
|
||
|
cout << "输入两个数:" << endl;
|
||
|
cin >> a >> b;
|
||
|
cout << "最大值为: " << (a > b ? a : b) << endl;
|
||
|
return 0;
|
||
|
}
|