Modify and augment your (mathrm{C}++) program from Chapter 3, Indirect Addressing - Pointers, Question 1 as follows:

Question:

Modify and augment your \(\mathrm{C}++\) program from Chapter 3, Indirect Addressing - Pointers, Question 1 as follows:

1. Overload your Read Data () function with a version that accepts a student & parameter to allow first Name, last Name, current Course Enrolled, and gpa to be entered from the keyboard within the function.

2. Replace the Print () function that takes a student from your previous solution to instead take a const Student \(\&\) as a parameter for Print().
3. Create variables of type student and of type student * in main(). Now, call the various versions of Read Data (), and Print (). Do the pointer variables necessarily need to call the versions of these functions that accept pointers, and do the nonpointer variables necessarily need to call the versions of these functions that accept references? Why or why not?

Data From C++

image text in transcribed 

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer: