+ - / * %
Basic mathematical operators for adding (+), subtracting (-), multiplying (*), dividing (/) and modulo (%).
(16 * (2 + 2) - 32 / 2) % 2
This expression first calculates
16 * (2 + 2) - 32 / 2
, which equals 48. It then returns the remainder when 48 is divided by 2, which is 0.Last modified 2yr ago