2.5.1: understand the purpose of, and how to use, arithmetic operators (add, subtract, divide, multiply, modulus, integer division)
Keyword | Definition |
---|---|
- | subtraction operator |
* | multiplication operator |
/ | division operator |
+ | addition operator |
Arithmetic Operator | a symbol or symbols that performs a mathematical calculation using the data you seen next to them (e.g. + or -) |
DIV | integer division (division ignoring the remainder) |
MOD | modulus operator (the remainder after dividing) |