0
what does % symbol mean?
15 Respostas
+ 2
% it is type of Arithmetic operator
% it meaning is Module
it use to find the module (remainder)
eg
5%2
ans is 1(remainder)
+ 1
mod
+ 1
it's use to check whether no. is odd or even .
+ 1
it's mean balance of dividing number
eg:- 17÷8=2 and balance is 1, this one is %
+ 1
modul operatori
0
The percentage symbol % is the modulo operator in Java.
0
i mean this php code from one of the exercises <?php
for ($i=0; $i<10; $i++) {
if ($i%2==0) {
continue;
}
echo $i . ' ';
}
?>
0
% is modulo .. for example the value of i is 9 so divide it 9/2=4 remainder 1 that 1 is the answer for modulo.
0
it is a modulo operator
0
It is a operator used to get remainder
For example:
20%2 = 0
Where as 20%3 = 2
Here 0&2 are remainders after we solve the equations
0
for getting remainder. .whereas '/' gives quotient
0
℅ means modulas is return remainder
for ex-
$a=10;
$b=3;
$c=$a℅$b;
$c=1;
ans is 1
0
it is the arithmatic operator used for soving remainder..operator known as modulus
0
in simple language it's the remainder.. like 5/2 gives 1 as the remainder.
- 2
it is mode..an arithmatic operator