Assign6_Sp09 - Medical Benefits: $62.50 Retirement...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 6 Due Saturday March 13, 2009 by 11:59 pm You are asked to write a driver program with functions to open a data file containing records for a small company read and process the data and provide the following reports. 1) A payroll report in a tabular form: (Stored in a file.) Name Gross Salary Benefits Contributions Taxes Net Salary Joe Smith $6850.00 $62.50 $343.75 $168.50 $6300.25 Norm Johnson $1000.00 $52.50 $0.00 $0.00 $ 947.50 John Jordan $1125.00 $0.00 $0.00 $0.00 $1125.00 Total Gross Salaries paid: $8975.00 Total Benefits collected: $115.00 Total Contributions to Retirement Funds: $687.50 Total Taxes Collected: $168.50 Total Net Salaries Paid: $8372.75 2) A detailed report in page format: (Show on the monitor.) Name: Joe Smith Gross Salary: $6850.00
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Medical Benefits: $62.50 Retirement Contribution: 5% Company: $343.75 Employee: $343.75 Total: $687.50 Taxes Owed: $168.50 Net Salary: $6300.25 Requirements for the driver (client) program: Must use the class that was developed for assignment 5. Must have a function to read for one employee. Must have functions to print the info in a line format and page format. Data file Format (Organization): Skill_level Benefit_Code Contribution% Hours_Worked Id Name Data file sample: 4 3 5 50 111223333 Joe Smith 2 2 0 40 222331111 Norm Johnson 1 0 0 60 333221111 John Jordan There is a program posted on BB that uses files to process data, it will be useful to become familiar with it....
View Full Document

This note was uploaded on 05/03/2009 for the course CSCI 101L taught by Professor Ghyam during the Spring '07 term at USC.

Ask a homework question - tutors are online