Tell me something about... %(modolus) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tell me something about... %(modolus)

29th Sep 2016, 7:17 AM
Technicize
Technicize - avatar
5 Answers
+ 4
The % stands for modulo. It's the remainder of a division. First we divide our numbers 10/3. This gives us 3.3333333... Now this was from dividing. If we add modulo, 10%3 we get 1. What we want is an interger from our division. 9/3 gives 3, 9%3 = 0. 10-9 = 1. 10%3 = 1. 10/3 does not work to get an interger, but 9/3 does. So 10-9 = 1 10%3 =1 Hopefully this explained what you wanted.
29th Sep 2016, 8:14 AM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
+ 1
@andreas thank u buddy.. m understand now.. :)
29th Sep 2016, 8:19 AM
Technicize
Technicize - avatar
0
Modolus the first number to the right of the decimal point
4th Oct 2016, 1:29 PM
stephen
0
when u divide number like 5/2 u get 2 but moduo is 1 cuz its left from it
11th Oct 2016, 2:00 PM
Aleksandar Ilicic
Aleksandar Ilicic - avatar
0
If you invite five friend for birthday tea, and you cut the cake into five and one friend gets kidnapped by aliens, then his her peace become the modulus
1st Mar 2018, 6:21 AM
stephen