Print "1" if x
is equal to y
, print "2" if x
is greater than y
, otherwise print "3".
int x = 50;
int y = 50;
@(2) (x @(2) y) {
cout << "1";
} @(7) (x @(1) y) {
cout << "2";
} @(4) {
cout << "3";
}
int x = 50;
int y = 50;
if (x == y) {
cout << "1";
} else if (x > y) {
cout << "2";
} else {
cout << "3";
}