+ 1

Anyone can explain to me why and how 17%3 makes 2?

15th Jan 2019, 11:51 AM
Mike
1 Answer
+ 5
When you devide 17 by 3, you get 5 and 2 that are left over, that two are called remeinder, and modulus is giving remeinder of floor division of two intigers
15th Jan 2019, 12:20 PM
Andrej Zrnic
Andrej Zrnic - avatar