

Program to Compute Quotient and Remainder
int dividend, divisor, quotient, remainder;
quotient = dividend / divisor;
remainder = dividend % divisor;
In this program, user is asked to enter two integers (dividend and divisor) which is stored in variable dividend and divisor respectively.
Then the quotient is evaluated using division / operator and stored in variable quotient.





