public class MyException extends ExistingException { public MyException () { } public MyException (String message) { super(message); } }
Write a program that asks the user to enter an integer than is ≥ 5 and ≤ 10. The program should continue prompting the user until a valid number is entered.