Code:-
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cout<<"Enter two numbers\n";
cin>>a>>b;
if(a>b)
cout<<a<<" is greater than "<<b;
else
cout<< a<<" is less than "<<b;
return 0;
}
Output:-
Enter two numbers
12 3
12 is greater than 3
0 Comments