What does a % symbol mean? | Sololearn: Learn to code for FREE!
+ 2

# What does a % symbol mean?

Hi help

1st Jan 2018, 5:27 PM
Aiden
6 ответов
+ 7
remainder division it shows the amount left over useful when figuring out items that are broken into smaller increments like a pack of gum ... if you have 100 people. how many packs would be needed if each pack contain 15 peices... you could use modulo(%) to count the extra. pack
4th Jan 2018, 4:52 AM
Nic Beltrante
+ 3
It's called modulus (%). This operator shows the remainder of division.
1st Jan 2018, 5:32 PM
jamilxt
+ 2
The modulo operation finds the remainder after division of one number by another (sometimes called modulus). Given two positive numbers, Dividend and Divisor, “Dividend modulo Divisor” (or, “Dividend % Divisor”) is the remainder of the division of Dividend by Divisor. For example, the expression "5 % 2" would evaluate to 1 because 5 divided by 2 leaves a quotient of 2 and a remainder of 1, while "9 % 3" would evaluate to 0 because the division of 9 by 3 has a quotient of 3 and leaves a remainder of 0; there is nothing to subtract from 9 after multiplying 3 times 3.
1st Jan 2018, 9:03 PM
Wilbur Mercer
+ 2
This symbol means modulus. It gives the remainder. Example:- 10 % 3 =1
9th May 2018, 4:13 AM
Soumyajit Chand
0
mod in c
1st Jan 2018, 5:29 PM