Why does this make sense? i want someone to explain it for dummies because i'm new to coding (Sorry in advance).
I'm trying to learn c# and i come across this code as a question.
int x = 15;
int y = 6:
x % = y;
Yes, % means modulo. It is the remainer after the division.
15 / 6 = 2*6 + 3
So 15 % 6 is 3 :)