0

I have a question on a very basic operation of modulo operator.
Why does 1 % 9 produce 1? If 10 % 9 then remainder is 1.

I am very poor in math but have had to use modulo operator
many times before but always become confused and couldn't
understand the logic when dividend is smaller than divisor.

Thank you.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by dellat
0

Well 9 divides into 1 zero times with 1 left over.

I got the point.
Thank you very much for the help.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.