+24 + 3 * -4 ------ +24 + -12 ----------- 12
To say exactly what numbers go with each operator, use parentheses. For example
-1 * ( 9 - 2 ) * 3
means do 9 - 2 first. The "( )" groups together what you
want done first.
After doing the subtraction, the
-1 * 7 * 3
Now follow the left-to-right rule for operators of equal precedence:
-1 * 7 * 3 ------ -7 * 3 -------- -21
What is the value of each of the following expressions?
Expression | (8 - 2) / 2 | (2 + 6) / 2 - 9 | (8 + 4) * 2 | 8 + 4 * 2 | 8 + (4 * 2) |
---|---|---|---|---|---|
Value? |