+ 1
What does IT mean 17 % 3
2 Respostas
+ 3
It means 17 modulo 3.
here % is the modulo operator, which will give the remainder,
17 % 3 = 2;
as 17 divided by 3 gives a remainder of 2.
0
8 / 2 = 4
8 % 2 = 0
% or modulo will divide until the number is indivisible and return the remainder
10 / 3 = 3 or 3.3333...
10 % 3 = 1