0
What does it mean by the remainder is shown when using %
3 Respostas
+ 4
The modulo operator (% symbol) returns the remainder of a division operation of the operands, for example, when you go 5 % 2, you are asking for the remainder of 5 divided by 2, which gives you 1, and 10 % 4 gives you 2, because when you divide 10 by 4 you get 2 left behind after the division.
+ 2
You're welcome, glad to help : )
+ 1
Ok, thanks a lot!