这个代码错在哪里 求助
#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;
}
}
2018-03-22 19:55
2018-03-22 23:21