+ 2
What does a % symbol mean?
Hi help
6 Respostas
+ 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
+ 3
It's called modulus (%). This operator shows the remainder of division.
+ 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.
+ 2
This symbol means modulus. It gives the remainder. Example:- 10 % 3 =1
0
mod in c
0
Remainder.