// Project EmployeeArray // Class Executive // Project Employee // File executive.h #include "executive.h" Executive::Executive(string n, char g, int a, int i, double s, double b) : Employee(n, g, a, i, s) { bonus = b; } void Executive::display() { Employee::display(); cout << "bonus = " << bonus << endl; } void Executive::compute_salary() { cout << "Total Salary = " << salary + bonus << endl; }