Question: a . Based on the input of personSelect select the appropriate person and change their GPA to the newGPA input and then print out their

a. Based on the input of personSelect select the appropriate person and change their GPA to the newGPA input and then print out their information. For instance if the user types in 1 then select person 1 and print out their information using the printInfo method. Do it for all possible inputs from 1 to 5.b. If however the input is not 1 to 5 then inform the user they have to have to type in an appropriate person number. Print the following statement: "Please select a person number between 1 and 5."

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 Programming Questions!