Question: I keep getting errors on this C++ code, I have no idea how to fix them. Can someone please look at it and fix it.

I keep getting errors on this C++ code, I have no idea how to fix them. Can someone please look at it and fix it. The code will be below.
#include
class Employee { public: char name[20]; float salary; void Manager (char n[], float f) { strcpy(name,n); salary=f; } void print() { cout Exercise P8.3. Derive a class Manager from Employee. Add a data field, named department, of type string. Supply a function print that prints the manager's name, department, and salary. Derive a class Executive from Manager. Supply a department, and salary. Derive a class Executive from Manager. Supply a function print that prints the string Executive, followed by the information stored in the Manager base object. Exercise P8.4. Implement a base class Account and derived classes Savinas and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
