( Modify the Course class) Rewrite the addStudent function in the Course class in Listing, Course.cpp to throw a runtime_error if the number of students exceeds the capacity.
Listing Course.cpp

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.