fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4. int a, b;
  5. cin >> a >> b;
  6. if (a > b)
  7. {
  8. cout << "Greater" << endl;
  9. }
  10. else if (a < b)
  11. {
  12. cout << "Less" << endl;
  13. }
  14. else
  15. {
  16. cout << "Equal" << endl;
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Greater