fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int num;
  7. cout <<"enter the integer :";
  8. cin >> num;
  9. cout << "the number is :" << num <<endl;
  10. int num2;
  11. cout << "enter the integer :" ;
  12. cin >> num2;
  13. cout << "the number is :" << num2 <<endl;
  14.  
  15. if(num >= num2)
  16. {
  17. cout<<"Huray numbers are equal\n";
  18. }
  19. else
  20. {
  21. cout<<"ohh sadness numbers are not equal\n";
  22. }
  23. return 0;
  24. }
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
enter the integer :the number is :-166464144
enter the integer :the number is :32765
ohh sadness numbers are not equal