Order of Operations
 

Order of Operations
The normal rules you learned in mathematics for order of operations also apply to programming. The answer to 2 + 7 * 3 is 23 (not 27).

PEMDAS (Please Excuse My Dear Aunt Sally) for determining order of operations.

(c) Shilpa Sayura Foundation 2006-2017