Math Operations Example

Addition (5 + 3): 8

Subtraction (5 - 3): 2

Multiplication (5 * 3): 15

Division (5 / 3): 1.6666666666667

Modulus (5 % 3): 2

The addition operator (+) adds two numbers together. The subtraction operator (-) subtracts the second number from the first. The multiplication operator (*) multiplies two numbers. The division operator (/) divides the first number by the second. The modulus operator (%) returns the remainder of the division of the first number by the second.

Math Code