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) !(4 > 3.5) || ((6 < 3) && (4 < 9))
2) 99 % 100 + 10 / 4 / 1.0
3) "8" + 3 * 2 + (3 * 25) + 3 * 10 + 3 * 3
4) 6 / 2 + (14 < 3)
5) -1 + 11 % 7 * 2 + 1000 + 110 * 3