Find a div m and a mod m whena) a = 228, m = 119.________________b) a = 9009, m = 223.________________c) a = -10101, m =333.________________d) a = -765432, m = 38271.

Solution:Step 1In mathematical form, we can writealso,) a div m gives the quotient q when a number a is divided by another number m.Anda mod m gives the remainder r when a number a divided by another number m.Where, remainder r is always positive.In above problems we have to find a div m and a mod m, where value of a and m is given.