What does the % in a calculation? I can\'t seem to work out what it does.
%
Does it work out a percent of the calculation for example: 4 % 2
4 % 2
% is modulo. 3 % 2 = 1, 4 % 2 = 0
3 % 2 = 1
4 % 2 = 0
/ is (an integer in this case) division, so:
/
3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 1 + 4%2 - 1/4 + 6 1 + 0 - 0 + 6 7