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...


Write an application that displays a series of at least<br>five student ID numbers (that you have stored in an<br>array) and asks the user to enter a numeric test score<br>for the student. Create a ScoreException class, and<br>throw a ScoreException for the class if the user does<br>not enter a valid score (less than or equal to 100).<br>Catch the ScoreException and then display an<br>appropriate message. In addition, store a 0 for the<br>student's score. At the end of the application, display all<br>the student IDs and scores. Save the files as<br>ScoreException.java and TestScore.java.<br>

Extracted text: 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 and then display an appropriate message. In addition, 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.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here