WAP to accept two numbers and print their
quotient and remainder.
Answers
Answered by
0
Answer:
printf("Enter dividend: "); scanf("%d", ÷nd); 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
Business Studies,
3 months ago
Computer Science,
3 months ago
Social Sciences,
6 months ago
Science,
6 months ago
Math,
11 months ago
Environmental Sciences,
11 months ago