Expressions
are like “formulas” saying how to manipulate existing values to compute new
values, e.g. hours/24
•Operators: +
- * / % produce numbers
•Operators:
< <= == != >=
> on numbers (or strings for
== and !=) produce Booleans
•Operators: && || ! on Booleans produce Booleans
•Grouping
by parentheses is OK and smart
•seconds = ((days*24 +
hours)*60 + min)*60