Question: Answer in C++ Implement a class named Organization which contains a collection of employees and the following three methods (a) Employee& getEmployee(const sring& first, const

 Answer in C++ Implement a class named Organization which contains a

Answer in C++

Implement a class named Organization which contains a collection of employees and the following three methods (a) Employee& getEmployee(const sring& first, const string& last) Return the employee with the given first name and last name. (b) Employee& getEmployee (const sring& ssn) Return the employee with the given social security number (c) Employee& highestSalary) Return the employee with the highest salary The Employee class contains the following member variables class Employee f public: string firstName; string lastName; string ssn; double salary; Employee (string &first, string &last, string & ss, double sa): firstName (first), lastName (last), ssn(ss), salary(sa) Co It's assumed that no two people have the same name and only one person has the highest salary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!