+ 1
How Modulo works?
Int x =8 y=5. Int result =x%y
4 ответов
+ 5
Best way to think of it is to:
Subtract y from x until x is smaller than y and what is left (the remainder) is stored in result.
+ 1
Thank you
0
This question was asked at least 100 times. Search for it before posting a new one.