0
What is the result of 4 % 5 ? I found this question in js challenge, thanks in advance.
4 Answers
+ 2
It is 4. If we try to do modulo for a number(4) with a number greater than it(5) then the result would be the number(4) itself. So 4%5=4
+ 2
So, If that was 5 % 4 = 1, Is it correct?
+ 1
@Randa Elkhashen: Yes
0
4%5=0,because the remainder is in decimal.....