FIT Input File to Process the Payroll of A Company Algorithm Application
Question Description
Assignment 4
Write an application (including algorithm) that uses an input file to process the payroll of a company.The file format includes a record for each employee that contains the following information (each field separated by colon)
- First Name
- Last Name
- Employee ID
- Pay Rate
- Hour Worked
The application must read the file of records and store the information in parallel arrays (maximum size of each array will be 100 entries).Therefore the application must be designed to support a file that contains a maximum of 100 employees.In addition an array, wages must be used to store the salary of each employee.The wages are calculated based on the following logic.
If Hours Worked <= 40
Wage = Pay Rate * Hours Worked
Else
Wage = Pay Rate * 40 + ((Hours Worked 40)* Pay Rate * 1.5)
The application must display all the array information (tabular format) for each record, in sorted order, based on the employee wages and display the total of all of the employee wages at the bottom of the table.
Upload to the Canvas Assignment 4 Submission area.
Note: The application must read all records of the file by using the technique of testing for the end-of-file (i.e., cannot prompt user for the number of records in the file).
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."