Payroll Project:
- Write a program to create a randomly accessible file for a simple payroll system. The file should contain the following information (you decide on field lengths).
- Employee #
- Employee Name
- Job Code
- Pay Hour
- Fed Tax percent withheld
- Fed Taxes withheld
- YTD Gross Pay
- Write a second program to maintain this file.
- You need to be able to add, change and delete records
- You also need a program to randomly access the file by record number and do the following:
- Take in this weeks hours, calculate the pay and update the YTD Gross Pay and the Fed Taxes withheld.
- On a separate screen, you should display this weeks and the YTD pay information.
- At some point you need to display the persons job by using the job code to go to an array and get the job name. If the job code is not in the table, you need to add the job to the array (this should be done by re-dimensioning the array and adding the job)..