Find the quotient and remainder when 2 divided by 123
Answers
Answered by
2
Answer:
In the above program, the quotient is obtained by dividing the dividend by the divisor. The remainder is obtained by using the modulus operator on dividend and divisor. quotient = dividend / divisor; remainder = dividend % divisor; After that the dividend, divisor, quotient and remainder are displayed.
Similar questions