Expressions

Category: Expressions
Author: Marty Stepp
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) 4 + 3 * 2 - 1
2) 1 + ( 2 + " ( 3 + " + 4 + " 5 ) " ) + 6
3) 100 % 30 % 4 + 5 % 2
4) !(1 + 1 >= 2) || 10 / 3 == 3
5) 2.0 * 2.2 + -23 / 2 / 2.0
6) 10 > 5 && (2 > 3 || 5 <= 4 + 2)