0
17%3 = 2 ?!
Im not a math genius. And i now what % is. But can you explain me what is the meaning of 17%3 = 2
4 Respuestas
+ 4
% is modulo operator, and what it means is to return remainder after division. So the answer for modulo is the remainder.
3 divides 17 , 5 times with a remainder of 2
17 % 3 = 5 remainder 2
and since the remainder is the answer, hence 17% 3 = 2
+ 3
17 % 3 = 5
17 : 3 ≈ 5
5 * 3 = 15
2 = 17-15
+ 2
X%Y=Z means the remainder when x is divided by y is z.
So 17%3=15/3 remainder =17-15=2
If you understood please leave a mark up,If you didn't email me (my email is ivansing23@gmail.com)
+ 1
Haha, amazing! Thanks