
David W. answered 09/08/17
Tutor
4.7
(90)
retired
Scan left-to-right. When a replacement is made, restart scan. Inside parentheses, do a sub-scan.
Follow:
P (parentheses)
E (exponentiation)
M D (multiplication or division, left-to-right)
A S (addition or subtraction, left-to-right)
7 - 5 + 3 * 2
7 - 5 + 6 (M, perform and replace, restart scan)
2 + 6 (S, perform and replace, restart scan)
8 (A, perform and replace, done)