Răspuns:
#include <iostream>
using namespace std;
int main()
{ int a, b, c, maxim;
cout<<"a=" ; cin>>a;
cout<<"b=" ; cin>>b;
cout<<"c=" ; cin>>c;
if((a>b)&&(a>c)) maxim=a;
else if((b>a)&&(b>c)) maxim=b;
else if((c>a)&&(c>b)) maxim=c;
cout<<"Maximul este :" <<maxim;
return 0;
}