Salut!
#include<iostream>
using namespace std;
int main()
{
int a,b,c,aux=0;
cout<<"a=";
cin>>a;
cout<<"b=";
cin>>b;
cout<<"c=";
cin>>c;
if (a>b)
a=aux;
a=b;
b=aux;
if (b>c)
b=aux;
b=c;
c=aux;
if (a>b)
a=aux;
a=b;
cout<<"cel mai mare numar este="<<a<<endl;
return 0;
}
Am testat programul si merge.
Succes!