Question: Optional extra credit problem section. You can earn extra points by solving the following problems. 3 . ( 1 0 extra Points ) Transform the

Optional extra credit problem section.
You can earn extra points by solving the following problems.
3.(10 extra Points) Transform the following UML diagram with pointers to a Course class.
This class should include data members and functions as shown above. Do the following:
Class definition in a file named Course.h
Class implementation in Course.cpp
Test program to declare two course objects with names and capacities, addStudents, get number of students in each course. Use pointers to getStudents for each course. Your program should be able to demonstrate the correctness of your implementation.
3.1 Course.h
3.2 Course.cpp
3.3 main
3.4 Test run

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