Computer Science, asked by juettemeyerrylan, 8 months ago

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 alizaaly999
9

1-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 .

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 jayadevi7008
0

Answer:

Write the program to input two numbers and then find out the division of those two numbers?

Similar questions