Expressions

Category: Expressions
Author: Helene Martin 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) 5 + 2 * 4 / 3 + 5
2) 5 + 5 + "23.0" + 5 + 2 * 5
3) !(5 > 2 && -2 > 2) || 5 / 2 == 0
4) 15 % 9 % 4 + 4 % 6 % 3
5) 12 / 5 / 2.0 + 2 * 4