Exercise : 2.46. Instructions: Divide two numbers carefully
- Find and open the
CarefulDivideJava program in the
- Prompt the user for an integer numerator and denominator
- Compute the integer quotient of the inputs.
- However, if the denominator is 0, do not print the quotient. Instead, produce a suitable message about the result being undefined.