PDA

View Full Version : What is the modulus operator?



Shivangi Panwar
05-17-2016, 04:29 AM
What is the modulus operator?

priya01
05-19-2016, 02:44 AM
The modulus operator outputs the remainder of a division. It makes use of the percentage (%) symbol. For example: 10 % 3 = 1, meaning when you divide 10 by 3, the remainder is 1.

Thoughtgrid
09-17-2016, 12:29 AM
These type of operator divide the value of one expression by value of another and return the reminder it is commonly used to take randomly generated number reduce that number to a random number on small range.

jeffronald19
12-28-2016, 09:50 PM
In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus). Given two positive numbers, a (the dividend) and n (the divisor), a modulo n (abbreviated as a mod n) is the remainder of the Euclidean division of a by n.

pxljobs
01-30-2017, 11:09 PM
The modulus operator reminder of the division it give an absolute value of positive or negative value of the number.

tyagi
03-30-2017, 12:00 AM
In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus). Given two positive numbers, a (the dividend) and n (the divisor), a modulo n (abbreviated as a mod n) is the remainder of the Euclidean division of a by n.

Thank you~!