0
Why does 24 % 7 = 4?
Why does 24 % 7 = 4? Is this because it rounds up?
2 odpowiedzi
+ 12
% operator returns the remainder.
As 24 = 7 * 3 + (3), the answer should be 3.
- 1
I think thats why, am i correct?
Why does 24 % 7 = 4? Is this because it rounds up?