Question: We will be implementing a program to handle a student roster. Given files: main.cpp - contains the main function for testing the program. Course.cpp -
We will be implementing a program to handle a student roster.
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.
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.
The Course object will have a PrintRoster method, which outputs a list of all students enrolled in a course and also the total number of students in the course.
Example Output: 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
