0

modulo

How does the modulo operator work?

3rd Oct 2017, 1:06 PM
Isabel Hohmann
Isabel Hohmann - avatar
4 Answers
+ 2
The simple answer is that it returns the remainder after dividing. So 11%3 is 2 because 11 divided by 3 is 3 with a remainder of 2.
3rd Oct 2017, 1:14 PM
Mark McGhee
Mark McGhee - avatar
+ 1
modulo operator % basically denote the reminder. example : 9%2 = 1
3rd Oct 2017, 1:13 PM
Alpha Rays
Alpha Rays - avatar
+ 1
denote = bedeuten, anzeigen, stehen fĂŒr
3rd Oct 2017, 1:34 PM
1of3
1of3 - avatar
0
And may I ask wha denote means?
3rd Oct 2017, 1:14 PM
Isabel Hohmann
Isabel Hohmann - avatar