Menu
×
×
Correct!
Exercise:Print "1" if
int x = 50;
int y = 50;
@(2) (x @(2) y) {
System.out.println("1");
} @(7) (x > y) {
System.out.println("2");
} @(4) {
System.out.println("3");
}
int x = 50;
int y = 50;
if (x == y) {
System.out.println("1");
} else if (x > y) {
System.out.println("2");
} else {
System.out.println("3");
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 59 exercises.
Are you sure you want to continue?