Arithmetical expressions
These are either values, variables or calls of functions embedded
with these operators:
+
-
*
/
mod
Mod is a shortcut for modulo and returns the remainder of a division...
Example of arithmetical expression | int
x = 20 int y = 50 print (x * 10) + (y / 5) |
Display: | > 210 |
Mod returns the remainder of 100 divided by 3 | print 100 mod 3 |
Display: | > 1 |