Explanation of math operators

BONUS BONUS BONUS I completed the whole slide of math operators!

Addtion example:
2 + 2. The '+' will add the numbers.
4

Subtraction example:
4 - 2. The '-' will subtract the numbers.
2

Multiplication example:
2 * 2. The '*' will mulitply the numbers.
4

Division example:
2 / 2. The '/' will divide the numbers.
1

Modulus example:
9 % 4. The '%' will return the remainder of the equation.
1

Pre-increment example:
2 incremented by 1. The ++ at the beginning will add 1 to the orginal number.
3
3
Adds one to the orginal number and then returns the new number both times.

Post-increment example:
2 incremented by 1. The ++ at the end will add 1 to the orginal number.
2
3
Adds one to the orginal number but will first return the orginal number and then return the new number with the variable.

Pre-decrement example:
2 incremented by 1. The -- at the beginning will subtact 1 from the orginal number.
1
1
Subtracts one from the orginal number and then returns the new number with the variable.

Post-decrement example:
2 decremented by 1. The -- at the end will subtract 1 from the orginal number.
2
1
Subracts one from the orginal number but will first return the orginal number and then returns the new number with the variable.


BONUS I completed the whole slide of math operators!