Expressions

Category: Expressions
Author: Stuart Reges
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 (e.g., 7.0 rather than 7 for a double, Strings in quotes).
1) 4 * (2 + 4) - 3 * 5
2) 54 % 10 + 8 * 3 % 9
3) 3 * 2 + 4 + "+" + 2 + 3 * 4
4) 2.3 * 3 + 19 / 5 / 2 + 6.0 / 5
5) 108 / 20 * 3 / 4 / 2.0 + 1.0 / 2