Professional Documents
Culture Documents
Arithmetic
7.7 \ 4 evaluates to 2
The modulus operator, Mod, yields the remainder after
Integer division.
7 Mod 4 yields 3
17 Mod 5 yields 2
Arithmetic expressions in must be written in straight-line
form so that programs can be entered into a computer.