Question: In C++ 3. Create an inheritance structure with base class Course from which both DirectedResearch and Laboratory inherit so that the following main function generates
In C++
3.
Create an inheritance structure with base class Course from which both DirectedResearch and
Laboratory inherit so that the following main function generates the given output. The
main function should look as follows and output the following:
#include
using namespace std;
int main() { Course Statics("ENGR", 2214); DirectedResearch Research("MTRE", 4490, "Dr.Guerra"); Labratory ControlsLab("MTRE", 4002, 50); Statics.display(); cout
return(0); }

CWindowsisystem321cmd.exe ENGR 2214 CaS. MTRE 4490 Mentor: Dr. Guerra MTRE 4002 Lab fee: $50 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
