- Apr 28, 2020
- 223
- 376
Both expressions (with and without brackets) are syntactically correct but they have different result.So this whole thing is wrong (written and calculated ?)
Order of operations is:
1. Brackets
2. Multiplication / division
3. Addition / subtraction
4. From left to right (this is step which many people forget)
So for expression with brackets you have:
10 -(2x2+6) = 10 - (4+6) = 10 - 10 = 0
and for expression without brackets (like in game) you have:
10 -2x2 + 6 = 10 - 4 + 6 = 6 + 6 = 12
In attachment you have result from calc.
Last edited: