- #include
- using namespace std;
- int main()
- {
- int a, b, c;
- cin >> a >> b >> c;
- switch (a >= b && a >= c)
- {
- case 1: cout << a; break;
- default:
- switch (b >= a && b >= c)
- {
- case 1: cout << b; break;
- case 0: cout << c;
- }
- }
- return 0;
- }