Expressions

Category: Expressions
Author: Benson Limketkai and Marty Stepp
Book Chapter: 2.1
Problem: Expressions
For each expression at left, indicate its value in the right column. List a value of appropriate type and capitalization. e.g., 7 for an int, 7.0 for a double, "hello" for a String, true or false for a boolean.
1) 8 - 2 * 3 + (5 - 1)
2) 10 - 2 + "6" + 3 * 25 + (33 - 3) + 9
3) 19 % 8 == 3 && 2 == 7 / 3
4) 1.0 / 2 + (4.5 - 1.5) - 7 / 2