Question: Question 2: Consider the following code and write the complete definition of the mentioned class according to the code written in the main program? Moreover,

Question 2: Consider the following code and write the complete definition of the mentioned class according to the code written in the main program? Moreover, write additional code in the main program to display details for the employee with the highest salary. class { private: public: int main() { Employee el("E1000, AHMAD, 100000"); //ecode, ename, esalary Employee e2 (el); el.display(); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
