Question: Using C++, A CollegeCourse class includes fields representing department, course number, credit hours, and tuition. Its child, LabCourse, includes one more field that holds a

Using C++,

A CollegeCourse class includes fields representing department, course number, credit hours, and tuition. Its child, LabCourse, includes one more field that holds a lab fee charged in addition to the tuition.

Create appropriate functions for these classes, and write a main()function that instantiates and uses objects of each class.

Sample Run ENG121 3 credits. Tuition $333.33 CIS250 4 credits. Tuition $444.44 plus lab fee $30.25 for a grand total of $474.69 

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!