+ 2

What does this operation(% ) do ?? give out a small example !

13th Jul 2016, 2:30 PM
N.Guy
N.Guy - avatar
2 Answers
+ 4
% finds the remainder 20 % 6 = 2. 6 fits 3 times in 20 (18) and there is 2 left, THE REMAINDER
14th Jul 2016, 11:47 AM
Kittee
Kittee - avatar
+ 1
how do you do it with float?
30th Jul 2016, 4:29 PM
Tom Joseph
Tom Joseph - avatar