Hey guys! Please help me to write this software is C++ . thanks
A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 30 hours they work and "time-and-half"- 1.5 times their hourly wage - for overtime hours worked), commission workers (who receive 250$ plus 5.7 percent of their gross weekly sales), or pieceworkers (who receive a fixed amount of money per item for each of the items they produce-each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee and then total weekly salaries. You don't know the number of the employees in advance. Each type of employee has its own pay code: Managers have code 1, hourly workers have code 2, commission workers have code 3and pieceworkers have code 4.