Please assist writing a program to read a text file and create a payroll register. The register will contain this data:
Base pay(pay rate * hours worked)
Overtime pay (for nonexempt employees. An employee is exempt if Y appears in the exempt column. Overtime is paid at time and one half for all hours worked over 40)
So I did the text file and it's in a table. I started the input output file and I get an error. I'm not sure what else I have to do.© BrainMass Inc. brainmass.com December 24, 2021, 4:42 pm ad1c9bdddf
I tested you program and found you problem:
You cannot use the input file as the output file at the same, this is because when you do like ...
The solution creates a payroll register.