Expressions

Category: Expressions
Author: Marty Stepp and Helene Martin
Book Chapter: 2.1
Problem: Expressions
For each expression in the left-hand column, indicate its value in the right-hand column. Be sure to list a constant 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) 5 * 2 * 4 - 3 * 3
2) 29 / 4 / 2.0 + 18 / 5 + 1.5
3) 30 % (4 + 3) + 16 % 20
4) !(23 + 2 * 2 <= 27) && 5 % 2 == 1
5) 1 + 1 + "(8 - 2)" + (8 - 2) + 1 + 1