How to check if a string is numeric?
<p>I have a gpa program, and it works with the equalsIgnoreCase method which compares two strings, the letter a to the user input which check if they put "a" or not., but now I want to add an exception with an error message that executes when a number is the input. I want the program to realize that the integer input is not the same as string and give an error message. which methods can I use to compare a type string variable to input of type int,  and throw exception</p>
