0
In this string" if($i%2==)", what does the percent sign ask it to do?
percent sign
7 Respuestas
+ 3
find the rest of division by 2
+ 1
find modulus
+ 1
5%2=1
As 5/2 leaves 1
+ 1
remainder.
+ 1
is the modulo " the rest of division of the variable i by 2"
0
Excellent. Thank you gentleman. I think I have it now.
0
it divisible by 2 and reminder will be stored in output..