Create a program that takes as input the names, the payroll number, the hours worked and the rates per hour paid for each employee.

Programming

Create a program that takes as input the names, the payroll number, the hours worked and the rates per hour paid for each employee.

The program should be able to calculate the monthly pay for each employee.

The pay per day for the employee is calculated by multiplying the hourly rate and the numbers of hours worked.

The program should be able to capture the details of at least 10 employees but should have the capability of allowing the user to exit before capturing the details of all 10 employees or to continue adding more details of employees after reaching the minimum number of 10.

The details of the employees and their monthly pay should be saved in a text file.