Question: Begin with your solution to Program 8 B: Gradebook with Functions. Now modify your design as follows: create a void function called getStudentInfo which has

Begin with your solution to Program 8B: Gradebook with Functions.
Now modify your design as follows:
create a void function called getStudentInfo which has 4 reference parameters; name, test1, test2, test3.
call getStudentInfo from main
getStudentInfo will call getStudentName and getTestscore (three times), and pass by reference the name and 3 test scores back to main.
The program will run exactly like your solution to Program 6B. The difference is in your design which now utilizes reference parameters.

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!