The remainder is the integer "left over" after dividing one integer by another to produce an integer quotient
In JavaScript(my favorite programming language) when you want to get the remainder of a certain operation you use the modulo(%) symbol.
Some examples of this operation would be:
- 21 % 5 = 1
- 24 % 5 = 4
- 25 % 5 = 0
Comentarios
Publicar un comentario