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) {
printf("1");
} @(7) (x @(1) y) {
printf("2");
} @(4) {
printf("3");
}
int x = 50;
int y = 50;
if (x == y) {
printf("1");
} else if (x > y) {
printf("2");
} else {
printf("3");
}