Operators

Operators are arithmetic, comparing and logical.


Arithmetic Operators

  • * (multiplication)
  • / (division)
  • % (modulo)
  • + (addition)
  • - (subtraction)


Comparison Operators

  • == (equal to)
  • != (not equal to)
  • < (less than)
  • > (greater than)
  • <= (less than or equal to)
  • >= (greater than or equal to)


Logical Operators

  • ! (not)
  • & (and)
  • ^ (xor)
  • | (or)