1. Write a program to input two numbers and find the quotient (divide)
2. What happens if you input 0 for the second number
Answers
Answered by
9
1-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 .
2-However if the two values are the same, return 0 and return the smaller ... nextInt(); System.out.print("Input the second number: "); int b = in.
please mark as brainliest
Answered by
0
Answer:
Write the program to input two numbers and then find out the division of those two numbers?
Similar questions