Write an application that displays a series of at least five student ID numbers (that you have
Question:
Write an application that displays a series of at least five student ID numbers (that you have stored in an array) and asks the user to enter a numeric test score for the student. Create a ScoreException class, and throw a ScoreException for the class if the user does not enter a valid score (less than or equal to 100). Catch the ScoreException, display an appropriate message, and then store a 0 for the student’s score. At the end of the application, display all the student IDs and scores.
Save the files as ScoreException.java and TestScore.java.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: