+ 1

what is 5%2? 2 or 1

math

13th Apr 2019, 7:32 PM
Ionut Mircea
Ionut Mircea - avatar
2 Answers
+ 2
The modulo operation gives the remainder of the division.
14th Apr 2019, 1:09 AM
Sonic
Sonic - avatar
+ 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...
13th Apr 2019, 7:39 PM
Someone Other
Someone Other - avatar