Question: Complete Course.cpp by implementing the PrintRoster ( ) function, which outputs a list of all students enrolled in a course and also the total number
Complete Course.cpp by implementing the PrintRoster function, which outputs a list of all students enrolled in a course and also the total number of students in the course.
Given files:
main.cpp contains the main function for testing the program.
Course.cpp represents a course, which contains a vector of Student objects as a course roster. Type your code in here
Course.h header file for the Course class.
Student.cpp represents a classroom student, which has three data members: first name, last name, and GPA.
Student.h header file for the Student class.
Ex: If the program has students enrolled in the course, the output looks like:
Henry Cabot GPA:
Brenda Stern GPA:
Jane Flynn GPA:
Lynda Robison GPA:
Students:
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
