Arithmetic Operators


  • There are four primary math operators: add, subtract, multiply, and divide.
  • The remainder operator (%), returns the remainder of a division.
  • Expressions are evaluated from left to right, unless you add parentheses, or unless some operators in the expression have higher precedence than others.
  • The *, /, and % operators have higher precedence than + and -.