r/javahelp • u/macetfromage • Mar 27 '21
Solved 1%2=1?
i dontunderstand the results when the nr to the right is larger
ofc 4%3=1
but why 3%4=3
2
Upvotes
r/javahelp • u/macetfromage • Mar 27 '21
i dontunderstand the results when the nr to the right is larger
ofc 4%3=1
but why 3%4=3
17
u/MyNameIsRichardCS54 Mar 27 '21 edited Mar 27 '21
3 / 4 = 0 remainder 3