What is the output of the following statements? Suppose a and b are int variables, c is a double variable, and a = 13, b = 5, and c = 17.5.
a. System.out.println(a + b - c);
b. System.out.println(15 / 2 + c);
c. System.out.println(a / (double)(b) + 2 * c);
d. System.out.println(14 % 3 + 6.3 + b / a);
e. System.out.println((int)(c)% 5 + a - b);
f. System.out.println(13.5 / 2 + 4.0 * 3.5 + 18);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.