Question: Use an interactive loop to ask the user to enter student identifications and number of credit hours awarded during the summer. Search for the student

Use an interactive loop to ask the user to enter student identifications and number of credit hours
awarded during the summer. Search for the student identification in the array and update the credit
hours. Report an error message if the identification is not found. Use exception handling with a trycatch block to report an entry error on the integer number of summer credit hours. Hint: Read the credit
hours as a string and use Integer.ParseInt method to convert to an integer. Catch the
NumberFormatException that arises if Integer.ParseInt fails. This loop uses "quit" as the sentinel
value to stop. See sample output

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!