Write a C++ program that asks the user to input two numbers and tell

a. if the first number is greater than the second number

b. if the second number is greater than the first one

c. or both numbers are equal

#include <iostream>
using namespace std;
int main()
{
int a, b;
cout<<"Please Enter first number : ";
cin>>a;
cout<<"Please Enter second number : ";
cin>>b;
if (a > b)
{
cout<<"First number is greater than second number";
}
else if (a < b)
{
cout<<"First number is less than second number";
}
else
{
cout<<"Both are equal";
}
return 0;
}