The first 10 records in your data file each contain a pay code and the corresponding pay rate per hour. the remaining records in the file are 1 per employee, and each record contains an employee name, hours worked, and pay code. Your are to output for each employee his/her name, hours worked, pay rate per hour, and gross pay.
1. Don’t worry about overtime.
2. You may assume that the employee’s pay code will be one of the initial 10 pay codes.
3. Validate the hours worked (must be great than 0).