fork download
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int A,B;
  6. char S;
  7. cin>>A>>S>>B;
  8. if(S=='>' && A>B)
  9. cout<<"Right"<<endl;
  10.  
  11. if(S=='<' && A<B)
  12. cout<<"Right"<<endl;
  13.  
  14. if(S=='=' && A==B)
  15. cout<<"Right"<<endl;
  16.  
  17. else
  18. cout<<"Wrong"<<endl;
  19.  
  20. return 0;
  21. }
  22.  
  23.  
  24.  
Success #stdin #stdout 0s 4280KB
stdin
Standard input is empty
stdout
Wrong