![]() |
#2
yangfrancis2018-03-22 23:21
|
#include <iostream>
using namespace std;
void main()
{
int a,b,c;
cout<<"请输入3个整数"<<endl;
cin>>a>>b>>c;
if((a==b)||(b==c)||(a=c))
cout<<"error"<<endl;
if(a>b&&a>c)
cout<<a;
else
{if(b>c)
cout<<b;
else
cout<<c;
}
}