Question: Request a template in c++: salary performs two bits of analysis. It loops through the Instructor objects, calculating the average salary. It also determines which
Request a template in c++: salary performs two bits of analysis. It loops through the Instructor objects, calculating the average salary. It also determines which Instructor has the highest salary. You can perform both analyses in the same loop. The average salary is passed back to the caller as the return value. The address of the Instructor object with the highest salary is passed back to the caller in the second parameter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
