fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. string s1 = "Apple";
  6. string s2 = "Appl";
  7.  
  8. cout << (s1 > s2); // false
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
1