Answer to Question #77727 in C++ for Britt
•void print_student(Student* s) that prints the name of a student and the names of all courses that the student takes.
•void print_course(Course* c) that prints the name of a course and the names of all students in that course.
•void enroll(Student* s, Course* c) that enrolls the given student in the given course, updating both vectors.
In your main function, define several students and courses, and enroll students in the courses. Then call print_student for all students and print_course for all courses.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!