Question: I keep getting errors when I compile this C++ code, can someone please fix the errors, I do not know what is wrong. The code

I keep getting errors when I compile this C++ code, can someone please fix the errors, I do not know what is wrong. The code is below.
#include #include
using namespace std;
class person { private: char name[20]; char dob[20]; public: person(); person (char n[], char d[]) { strcpy(name,n); strcpy(dob,d); } void print() { cout
eeaTeturs lat ietuils tuhe ame ih the (Programmer)". te afle in the rormat Hacker, Harr format "Hacker, Harry Exercise P8.2. Implement a base class Person. Derive classes Student and Instructor from Person. A person has a name and a birthday. A student has a major, and instructor has a salary. Write the class definitions, the constructors, and the member functions printO for all classes. Exercise P8.3. Derive a class Manager from Employee. Add a data field, named an
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
