fork(3) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. unsigned int a = 1;
  7. int b = -2;
  8.  
  9. if(b <= (long int)a)
  10. printf("Less than\n");
  11. else if(b >= a)
  12. printf("Greater than!\n");
  13. return 0;
  14. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
Less than