Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CHIC Write an application that displays a series of at least 10 student ID numbers (that are stored in an array) and asks the user
CHIC Write an application that displays a series of at least 10 student ID numbers (that are stored in an array) and asks the user to enter a letter grade (A, B, C, ...) for the student. Create an Exception class named Grade Exception that contains a static public array of valid grade letters ('A', 'B', 'C', 'D', 'F, and 'T'), which you can use to determine if the user entry is a valid grade. In your application, throw a GradeException if the user does not enter a valid letter grade. Catch the GradeException and then display an appropriate message. In addition, store an Tincomplete) for any student for whom an exception is caught. At the end of the application, display all the student ID's and grades Save the file as GradeException.java and TestGrade.java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started