CSI 101 Fall 2008
Prof Robert Ekblaw
HomeworkAssignment #3
Due: Wednesday,Sept 24th at 5:45PM
Description
Write pseudocode to design the following process:
Open the file named “employees”. The file starts with the count of employeerecords, then it has the records themselves. Each employee record looks like this:
1. ID
2. Last name
3. First name
4. Date of birth
5. Date of hire
6. Manager's ID
7. Flag for full-time (Yes or No)
8. Current pay rate
Perform the following services on the file data:
· Findthe employee with ID 0236781. Print theemployee's name and date of hire
· Countthe number of employees working for Manager # 032485
· Calculatethe percentage of part-time employees
Use variable to hold counts. I only want you passing through the employee file ONCE!
Remember to close the file when you are done.
You will graded on success (in other words, your programwould produce the correct output), proper flow, and proper syntax (whereapplicable).
You may turn in the assignment on paper or e-mail it to csi101@cs.albany.edu.