fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // Input
  6. int a, b; cin >> a >> b;
  7.  
  8. // Process -> Output
  9. if (a >= b) {
  10. cout << "a is greater than or equal to b";
  11. } else {
  12. cout << "a is smaller than b";
  13. }
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0.01s 5332KB
stdin
2 3
stdout
a is smaller than b