I'm going to be working on the following project tonight, and while I don't remember seeing the text about doing this, I'm assuming I can take the information out of two files, save them as temp, then if temp1=temp2 import the hours worked. Just wanted to throw that out there before I start coding. Just wanting to make sure I'm on the right path before I dive in.
Assume there are two input files for a payroll program. The first contains the employee’s name (a string), id number (an integer) an hourly rate (a real number). The second contains the employee’s id number and hours worked (a real number). The records in the first file are ordered by name and the records in the second file are ordered by id number. If a person did not work during the current time period, there will be no record in the second file for that person. Write a file of payroll records to an output file for all employees. Each record should contain the employee name followed by # followed by the hours worked, hourly rate, and pay amount. Use a space as a separator between items in the output file. There should be a record in the output file for every person including those who did not work in that pay period.