Mark O. answered 06/12/16
Tutor
5.0
(167)
Learn Physics, Math, and Comp Sci from Professional Scientist
Hi Pritam,
You should try to word your problem more carefully. I think I interpret through all of the typos that if you are given a divisor and dividend, how do you find the remainder?
If you divide one number by another number, the first number is the dividend and the second number is the divisor. Your integer answer is called the quotient. If the dividend is not divided by the divisor perfectly, then there exists a remainder. In general, you can write
Dividend = Quotient X Divisor + Remainder
Let me give an example. Say I want to divide 17 by 3. Then, 17 is the dividend and 3 is the divisor.
17/3 = 5 R2
This means that 17 divided by 3 equals 5 with a remainder of 2. So, 5 is the quotient and 2 is the remainder. Let's now look at the formula above:
Dividend = Quotient X Divisor + Remainder
17 = 5 X 3 + 2
That works.