fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a,b;
  6. cout<<"enter the number"<<endl;
  7. cin>>a>>b;
  8. if(a>b) {
  9. cout<<a<<"is bigger"<<endl;
  10. }else
  11. {
  12. cout<<b<<"is bigger"<<endl;
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5324KB
stdin
3
4
stdout
enter the number
4is bigger