my code is correct in this problem but it is showing that in only one test case it is working and you will not be getting 100 points, Please check my code and tell what is wrong in it
#include
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
if(a>b && a>c){
cout<<a<<endl;
}
if(b>a && b>c){
cout<<b<<endl;
}
else{
cout<<c<<endl;
}
}

