Mathematically 12 x 12 + 12 ÷ 6 - 20 gives 126, when you follow the rules of precedence of operators. The multiplications and divisions will be done before the additions and subtractions. The 12 x 12 will be done first, giving 144. Next the 12 will be divided by 6, giving 2. Then the 2 will be added to the 144, giving 146. Finally, the 20 will be subtracted from the 146 to give 126.
If you want to do it in steps, as listed in the question, you will get a different answer
12 x 12 = 144
144 + 12 = 156
156 ÷ 6 = 26
26 - 20 = 6
To get that result by following the laws of precedence of operators, you need to enclose parts in brackets and it would have to be written as:
(12 x 12 +12) ÷ 6 - 20
Chat with our AI personalities
Start with n, then you get; Add 17: n + 17 Double it: 2n + 34 Subtract 4: 2n + 30 Double it: 4n + 60 Add 20: 4n + 80 Divide by 4: n + 20 Subtract 20: n which is where you started.
Add 20.
28
20
32