A conditional

exercise No. 3

Q:

Embed the the subsequent code into a void main() {...} method like in the examples before and execute it:

int a = 3,
b = 87;

if (a < b) {
  IO.println("a is smaller than b");
} else if (b < a) {
  IO.println("b is smaller than a");
} else {
  IO.println("b equals a");
}

Test different values for a and b and try reaching all three branches.