Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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.
Course.h
Course.cpp
main
Test run
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started