**Precedence table**

Most programming languages provide a table from which you can determine the order of operations for any combination of operators.

However, this table is often long and difficult to memorize.

After many years of programming, about all that I have
memorized from the precedence table is that if you combine multiplication *(or
division)* with addition *(or subtraction),* the multiplication *(or
division)* will occur before the addition *(or subtraction).*