Math
Addition Example: 20 + 10 = 30
Used to add two number variables.
Subtraction Example: 50 - 10 = 40
Used to subtract two number variables.
Multiplication Example: 10 * 10 = 100
Used to multiply two number variables.
Divison Example: 40 / 30 = 1.3333333333333
Used to divide two number variables.
Modulus Example: 50 % 20 = 10
Used to return the remainder of a divison operation.
Pre-Increment Example: 10 pre-incremented by 1 = 11 / Calling it again: 12
Pre-Increment is used to increases the value of a variable by 1 before it is used in an expression.
Post-Increment Example: 10 post-incremented by 1 = 12 / Calling it again: 13
Post increment increases the value of a variable by 1, but only after the value is used in an expression.
Pre-Decrement Example: 10 Pre-Decremented by 1 = 13 / Calling it again: 12
Pre-Decrement decreases the value of a variable by 1, before it is used in an expression.
Post-Decrement Example: 10 Post-Decremented by 1 = 12 / Calling it again: 11
Post-Decrement decreases the value of a variable by 1, but only after it is used in an expression.