Expressions

Category: Expressions
Author: Benson Limketkai
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"). If the expression is illegal, then write "error". 
1) 1 / 2 * 4 + 2 / 1
2) (3 < 5 < 10) && (3 > 1)
3) 2.8 + 1.2 - 3 % 6 + 2 * 3 % 3