answersLogoWhite

0

The modulo (shortened to mod) finds the remainder of the division, while the div function finds integer division. Therefore, because 10 / 3 is equal to 3 remainder 1, 10 mod 3 is equal to 1, the remainder of the sum.

In some programming languages this is written as %, for example, in Java or C the result of 10 % 3 would be 1.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran

Add your answer:

Earn +20 pts
Q: Which operator finds the remainder of integer division?
Write your answer...
Submit
Still have questions?
magnify glass
imp