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) 43 % 15/3 + 15/2
2) 6.2 * 5/10 + 3.5
3) 6 * 2.5/4 + (2.3 + 2.7)/4
4) "18" + 3 * 4 + (8 + 5)
5) 59 % 10/(2 + 2) * 2.5/2