#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; // write your code here...... //int max = (a>b)?((b>c)?a:c):((a>c)?b:((c>b)?c:b)); int max = (a > b) ? ((a > c) ? a : c) : ((b > c) ? b : c); cout<<max; return 0; }