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 B: Gradebook with Functions.
Now modify your design as follows:
create a void function called getStudentInfo which has reference parameters; name, test test test
call getStudentInfo from main
getStudentInfo will call getStudentName and getTestscore three times and pass by reference the name and test scores back to main.
The program will run exactly like your solution to Program B 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
