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) 8.0 / 4 / 4 + 3 / 4 + 0.5 * 3
2) 88 % 10 % 5/2 + 7 % 8
3) 2 * 3 + 4 + " = " + 5 * 6 + 7
4) 54 / 5 / 2.0 / 4 * 3
5) 2 * (0.75 + 1.25) / 5 * 10 - 7/4