Question: in java I am using a try catch for InputMismatchException. I am also using a continue loop. When I enter an input mismatch my loop

in java I am using a try catch for InputMismatchException. I am also using a continue loop. When I enter an input mismatch my loop starts over. I cannot figure out what i need to do if I throw exception on my denominator and have it ask for correct input for denominator instead of starting loop all over and have to enter numerator again

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!