0

17%3 = 2?

I don’t understand this last question on the first module anyone can explain

27th Jun 2018, 11:12 PM
River Camacho
River Camacho - avatar
1 Resposta
+ 9
The % operator finds the remainder of the division. 3 goes into 17 5 times. 3*5 = 15, 17-15 = 2 so 17%3 is 2.
27th Jun 2018, 11:23 PM
John Wells
John Wells - avatar