Write an application (program) that throws and catches an ArithmeticException when you attempt to take the square root of a negative value. Prompts the user for an input value and try the Math.sqrt0 method on it. The application either displays the square root or catches the thrown exception and displays an appropriate message. Name your file as SqrtException.java hint: Check out Exception Demo3 code before start working on this program Expected outputs with and without exception:
OR
OR