Operators have the following precedence levels among arithmetic operators. In order of precedence (from lowest to highest):
unary (single argument) - + ~
* /%
binary (two argument) + - & | ^
not
and
or
When all operators in an expression are of the same level, the order of execution is left to right. Change the order of execution with parentheses—the most deeply nested expression is executed first.