#include<iostream>
using namespace std;
int main()
{
int a = 5;
int b = 10;
int c = 0;
(a > b ? a : b)=100;//若a>b则返回a或b 或者进行赋值
cout << a << endl;
cout << b << endl;
cout << c << endl;
system("pause");
return 0;
}