Assignment: Payroll Program Part 3
· Due Date: Day 7 [post to the Individual forum]
· Modify the Payroll Program so that it uses a class to store and retrieve the department's name, the number of employees for the department, and the average salary per employee in the department. Use a constructor to initialize the department information, and a method within that class to calculate the total department salary amount (number of employees in the department times the average salary per employee). Once stop is entered as the department name, the application should terminate. Make sure the program maintains all the functionality required in previous assignments and your source code is readable and well documented. Use feedback you have received from the instructor to make any needed modifications.