What is the value of degreesC after the following statements execute?

double degreesC, degreesF;
degreesF = 122;
degreesC = 5 / 9 * (degreesF - 32);
  1. 50
  2. 50.0
  3. 0
  4. 0.0

More information: Lesson 3.1.3

Evaluate the following integer expression and enter the answer in the textfield.

19 + 10 % 5

More information: Lesson 3.1.5

What is the output from the following loop?

int i = 10;
while (i >= 0)
    System.out.println(i);
    i--;
  1. No output
  2. The number 10 will be output exactly one time
  3. The numbers 0 through 10 will be output
  4. The number 10 will be output infinitely

More information: Lesson 5.2.4