CSC 120A Lab Assignment 12 - Fall 2004

[Course home page]

Thursday, November 18, 2004

Exercises:

In this lab you will practice writing classes to model employees of a company who are paid in different ways. The employee data is stored in the file empdata.dat. The first line of the data file is the number of employee data in the remainder of the file. For each employee, the file indicates whether they are paid on an hourly or salaried basis and their name. For hourly-paid employees, the file lists the number of hours worked per week and the hourly pay rate. For salaried employees, the file lists the weekly salary.

After you've finished these exercises, start looking at the next homework assignment, Homework 9.

You may work in pairs for this lab. Each pair should turn in one set of answers with both partners' names on it.

Upload your program files for this lab in the appropriate section of the Viking Web coursework for this class. Also hand in a printout of your program files.

 



Last modified: Wed Nov 24 12:53:59 EST 2004