1. What is the value of each of the following Java expressions?
a. 17 + 2 – 5 / 5
b. 2 + 3 * 5 – 2
c. 3 * 2 / 3 + 8
d. 6 / 2 * 3 – 10
e. 6 % 2 * 10
2. What is the value of each of the following Java expressions?
a. 12 / 3.0
b. 12 / 3
c. 16.0 / 3
d. 16 / 3
3. Explain how to use Java to determine whether x is an odd integer.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here