Answer:
int main()
{
int x,y;
bool b1, b2;
cout<<"enter values of x : ";
cin>>x;
cout<<"enter values of y : ";
cin>>y;
b1 = y > x; // false
b2 = x > y; // true
cout << "b1 is = " << b1 << "\\";
cout << "b2 is = " << b2 << "\\";
if (b2)
cout<<endl << "Larger Number" << "\\";
else
cout << "Smaller Number" << "\\";
return 0;
}