#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int n1,n2;
system ("color 3E");
cout <<"INGRESE UN NUMERO ENTERO: ";
cin >>n1;
cout <<"INGRESE OTRO NUMERO ENTERO: ";
cin >>n2;
if (n1>n2)
{
cout <<"El numero mayor es :"<< n1 <<"\n";
}
else if (n1 == n2);
{
cout <<"Los numeros son iguales : \n";
}
else
{
cout <<"El numero mayor es : "<< n2<<"\n";
}
system("PAUSE");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: