print "happy" if each of them takes the same number "not happy" otherwise
Here is program:
int main()
{
int happy, happy1;
cin >> happy;
cin >> happy1;
if (happy == happy1)
{
cout << "Happy" << endl;
}
else
{
cout << "Not happy" << endl;
}
}
Comments
Leave a comment