B 2.1.3 Worksheet Java Answers
Question: Write a program that takes two integers as input from the user and divides them. Handle the ArithmeticException that might occur if the user enters 0 as the divisor. Question: Write a program that takes a string as input from the user and converts it to an integer. Handle the NumberFormatException that might occur if the user enters a non-numeric string. Question: Write a program that asks the user to enter...