what does % symbol mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what does % symbol mean?

26th Jun 2016, 2:04 PM
Николай Крылов
Николай Крылов - avatar
15 Answers
+ 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)
27th Jun 2016, 8:10 AM
Âshvin Solanki
Âshvin Solanki - avatar
+ 1
mod
27th Jun 2016, 1:27 AM
Bilal ahmad
Bilal ahmad - avatar
+ 1
it's use to check whether no. is odd or even .
27th Jun 2016, 1:29 AM
Bilal ahmad
Bilal ahmad - avatar
+ 1
it's mean balance of dividing number eg:- 17÷8=2 and balance is 1, this one is %
29th Jun 2016, 4:27 PM
S.Logadharshan
S.Logadharshan - avatar
+ 1
modul operatori
13th Nov 2020, 2:14 PM
Abduvosi Abdugafforov
Abduvosi Abdugafforov - avatar
0
The percentage symbol % is the modulo operator in Java.
26th Jun 2016, 2:14 PM
Nitin sukumar
Nitin sukumar - avatar
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 . ' '; } ?>
26th Jun 2016, 2:18 PM
Николай Крылов
Николай Крылов - avatar
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.
27th Jun 2016, 12:09 AM
Antia Mir Suarez
Antia Mir Suarez - avatar
0
it is a modulo operator
4th Jul 2016, 8:20 AM
nandini aggarwal
nandini aggarwal - avatar
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
7th Jul 2016, 6:36 AM
vijay thamalla
vijay thamalla - avatar
0
for getting remainder. .whereas '/' gives quotient
11th Jul 2016, 6:04 AM
Selva Subha Sree
0
℅ means modulas is return remainder for ex- $a=10; $b=3; $c=$a℅$b; $c=1; ans is 1
18th Jul 2016, 5:53 AM
Amit
Amit - avatar
0
it is the arithmatic operator used for soving remainder..operator known as modulus
18th Jul 2016, 7:14 AM
tanya agarwal
tanya agarwal - avatar
0
in simple language it's the remainder.. like 5/2 gives 1 as the remainder.
29th Aug 2016, 6:42 PM
Gitartha
Gitartha - avatar
- 2
it is mode..an arithmatic operator
9th Jul 2016, 8:50 AM
tanya agarwal
tanya agarwal - avatar