Expressions

Category: Expressions
Author: 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) 1 + 2 * 3 * 4 - 5 * 2
2) 2 + "(int)2.0" + 2 * 2 + 2
3) 15 % 3 == 0 && !(3 > 2 && 1 > 3)
4) 1 / 2 + -(157 / 10 / 10.0) + 9.0 * 1 / 2
5) 24 % 5 + 9 % (6 % 4)