Computer Science, asked by kaustubhrathore16, 6 months ago

WAP to accept two numbers and print their
quotient and remainder.

Answers

Answered by anitarai12165
0

Answer:

printf("Enter dividend: "); scanf("%d", &dividend); printf("Enter divisor: "); scanf("%d", &divisor); Then the quotient is evaluated using / (the division operator), and stored in quotient . quotient = dividend / divisor; Similarly, the remainder is evaluated using % (the modulo operator) and stored in remainder .

Similar questions