The program below adds integers from 1 to 20 (in order) to t…

The program below adds integers from 1 to 20 (in order) to the variable sum until sum is greater than or equal to 100. Write down the CORRECT  number and sum displayed in the console once this code is executed.   21-1. (3) number: ___________________________   21-2. (3) sum: ___________________________  

Evaluate the following Java expressions, assuming x and y ar…

Evaluate the following Java expressions, assuming x and y are both declared as integer variables with the values x = 18 and y = 7:   18-1. (2)   x/y + 5 = _____________________   18-2. (2)   x % y * 3 =   ____________________   18-3. (2)   x – y / 2 =  _____________________   18-4. (2)   x / 3 – y * 2 =  ____________________