0

Hi . Can someone explain

2%5=2 how!?

24th Apr 2018, 4:51 AM
Nour Salh
Nour Salh - avatar
6 Respostas
+ 2
no.. its what it is. 5 can't divide 2(at least in sense of modulus). So the remainder is 2. 5*0+2=2
24th Apr 2018, 4:58 AM
Akib
Akib - avatar
0
no idea. it should be 1. code?
24th Apr 2018, 4:54 AM
Adam
Adam - avatar
0
Adam No, it's just an exam question 😢
24th Apr 2018, 4:57 AM
Nour Salh
Nour Salh - avatar
0
literally 5/2 is 4 with 1 left over. 5%2 = 1 not 2.
24th Apr 2018, 5:42 AM
Adam
Adam - avatar
0
Adam 2%5 not 5%2
24th Apr 2018, 6:22 AM
Nour Salh
Nour Salh - avatar
0
And apparently I'm dyslexic after a long day.
24th Apr 2018, 7:48 AM
Adam
Adam - avatar