akosiraff

Employee Payroll C#

May 6th, 2013
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/employee-payroll-c/
  3. Design a modular algorithm code (C#) that solves the following problem:
  4. A company wants to see a printout of the gross payroll for each of its 7 departments.
  5. The output should be a list of the seven departments and the total gross payroll
  6. (rate times hours) for each department. Be sure to validate the input data.
  7. If a line of data is invalid print out an error message along with the invalid data,
  8. then continue processing with the next record.
  9. The file containing the employee data that will be used for the calculations is
  10. structured as follows:
  11. FIELD DESCRIPTION DATA TYPE VALID VALUES
  12. Employee ID Character Non blank
  13. Department number Numeric 1-7
  14. Hourly Salary Numeric at least 10.00
  15. Hours Worked Numeric greater than 0
  16. The fields in each record will be separated by a comma
  17. For Example: EID001, 2, 15.50, 40
  18.  
  19. Download: http://solutionzip.com/downloads/employee-payroll-c/
Advertisement
Add Comment
Please, Sign In to add comment