(Solved):A firm hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly… View Answer…

 

Question

A firm hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee.

You are asked to write a C++ class called “temporaryWorker” that computes each employee’s weekly pay and the average salary of all the workers.

The program then outputs the

Scroll to top