*, / Multiplication and division
+ , - Addition and subtraction
Within a level of precedence evaluation is done from left to right.
If you mix integers and floats you sometimes get unexpected results. In C++, as in most programming languages, there are rules for the result type given the operand types.
Float and a float results in a float.
The combination of an integer and a float also results in a float.
The combination of an integer and an integer results in an integer. This sounds fine to start with but what is 3/4? It's zero. Any fractional part is discarded. This results in problems at times: