Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started