Input
Output
#include <iostream> using namespace std; int main(){ int a=12,b=7,c=5; if(a > b) { if(a > c){ cout << "Print the value of a "<< a << endl; } else{ cout << "Print the value of c "<< c << endl; } } else{ if(b > c){ cout << "Print the value of b "<< b << endl; } else{ cout << "Print the value of c "<< c << endl; } } return 0; }