#include <iostream>
using namespace std;
int main()
{
unsigned int x = 1;
int y = -2;
if(x > y)
{
cout << "x is greater";
}
else
{
cout << "y is greater";
}
}
#include <iostream>
using namespace std;
int main()
{
unsigned int x = 1;
int y = -2;
if(x > y)
{
cout << "x is greater";
}
else
{
cout << "y is greater";
}
}