+ 1
what is 5%2? 2 or 1
math
2 Respostas
+ 2
The modulo operation gives the remainder of the division.
+ 1
5%2.
5/2 = 4 and 1/2.
This 1 is that you're looking for.
e.g.
17/3: 5 and 2/3. The answear is 2.
9/7: 1 and 2/7. The answear is 2.
And go on...