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 4 students enrolled in the course, the output looks like:
Henry Cabot (GPA: 3.5)
Brenda Stern (GPA: 2.1)
Jane Flynn (GPA: 3.9)
Lynda Robison (GPA: 3.2)
Students: 4

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 Programming Questions!