+ 1

What does IT mean 17 % 3

19th Sep 2021, 9:15 AM
mohamed ali
mohamed ali - avatar
2 Answers
+ 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.
19th Sep 2021, 9:21 AM
CodeSmith
CodeSmith - avatar
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
19th Sep 2021, 2:44 PM
Sasmita Dwi Novitasari
Sasmita Dwi Novitasari - avatar