/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include using namespace std; int main() { int a,b,c,max; cout << " a:"; cin >> a; cout << endl << " b:"; cin >> b; cout << endl << " c:"; cin >> c; if (a>b) { if (a>c) { cout << endl << a; } else { cout << endl << c; } } else { if (b>c) { cout << endl << b; } else { cout << endl << c; } } return 0; }