#include<iostream>
      using namespace std;
      int main ()
      {
          int num1, num2;
          cout << "Insert two numbers: " << endl; 
          cin >> num1 >> num2;
          if (num1 == num2)
              cout << "both are equal"; 
          else if (num1 > num2)
              cout << num1 << " is greater than " << num2;
          else
              cout << num2 << " is greater than " << num1;
          return 0;
      }
      
      Cpp language logo

      Greatest

      0

      0

      avatar
      Ayush Gupta

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.