Question: In basic Java, looking to see how you would go about creating this one. Write a program that allows the user to input students and

In basic Java, looking to see how you would go about creating this one.

Write a program that allows the user to input students and their overall grades. The user can then request to edit the grades, and will be shown a list of students and their grades. You will have to use try catch blocks to handle all the errors that could occur. You will need to handle InputMismatchException and IndexOutOfBoundsException. Here is a clean run with no bad user input. You must make this program work with bad input! If you do get bad input from the user, you should ask the user to fix their mistake, and do not return them to the main menu until they have fixed their mistake.

Ex: 3.

Exit

1 Please enter the students name: Jackson

Please enter a grade for Jackson: 90

Main menu

Select one of the following options

1. Add a Student

2. Edit student grades

3. Exit

2 What student would you like to enter a grade for?

1) Nelson - 87

2) Bryce - 92

3) Jackson - 90

2 Please enter a grade for Bryce 95

Main menu

Select one of the following options

1. Add a Student

2. Edit student grades

3. Exit 3

Thank you, Goodbye!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!