+ 2
what if you have like 1%10?
3 odpowiedzi
+ 2
% is for modulo not divider, 1%10 that means 1 modulo 10, the result is 1 since 10 is bigger than 1, impossible to get the reminder, the operation return the first number (I don't know what is the number called) take a look example: 26%27 =26, 7%12=7, 1%3=1 etc. hope this helpfull
+ 1
1 is the answer.
1/ 10=0 remainder is 1
0
OK thank you