The rules are, from highest precedence (done first) to lowest precedence (done last):
The unary operators +, -, ++, --, and !
The binary arithmetic operations *, /, %
The binary arithmetic operations +, -
The Boolean operations <, >, <=, >=
The Boolean operations ==, ! =
The Boolean operations &&
The Boolean operations | |