Question: For the week 2 assessment, create a C++ program using Visual Studio that could be used by a college to track its courses. In this
For the week 2 assessment, create a C++ program using Visual Studio that could be used by a college to track its courses. In this program, create a CollegeCourse class includes fields representing department, course number, credit hours, and tuition. Create a child (sub class) class named LabCourse, that inherits all fields and methods from the the CollegeCourse class, includes one more field that holds a lab fee charged in addition to the tuition.
Create appropriate functions for these classes: default constructors, set data and show data. Use the inherited methods everywhere possible! Avoid duplication of code. Write a main() function that instantiates and uses objects of each class.
Compile this application using Visual Studio and run it to make sure it is error free. Please copy and paste ALL of your C++ code in a text file or files.
This is for C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
