Input Output Files

Please assist writing a program to read a text file and create a payroll register. The register will contain this data:
Employee(print left-justified)
Pay Rate
Hours worked
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)
Total pay.

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.

© SolutionLibrary Inc. 9836dcf9d7

Solution Preview

...that, the output file (in your program, which is 'input.txt') will be initialize to a zero file. So in your program, when it comes to this ...