Hopscotch Academy - Always accepting new students and teachers!

#Modulo
I am going to show you a few basic uses for Modulo.
But first, I’m going to say that Modulo is the remainder of a division problem. So for example
10 % 2
Would equal 0. And
5 % 2
Would equal 1.

Link to topic about it:

What remainders are (in case you don’t know.)

By t1

Say you have 20 lollies and you want to divide it equally between 6 friends.

You will end up with the friends having 6 lollies each, but there will be 2 lollies left over (or as remainder).

4 Likes