Subscriber only lesson.
Sign up to this course to view this lesson.
Math operators are very useful to computer programming.
When to use
Any time you want to do any sort of math, you'll use arithmetic operators.
The main math operators are:
+ // addition
- // subtraction
* // multiplication
/ // division
** // exponents
% // modulus
++ // increment
-- // decrement
Hints & tips
- Math operators act exactly how you'd expect them to.
- Remember to use the correct order of operations!
Lesson notes are only available for subscribers.