// Project Employee // Class Employee #include "employee.h" Employee::Employee(string n, char g, int a, int i, double s) : Person(n, g, a) { id = i; salary = s; } void Employee::display() { Person::display(); cout << "id = " << id << endl; cout << "salary = " << salary << endl; } void Employee::compute_salary() { cout << "Total Salary = " << salary << endl; }