Question: This assignment is to implement the employee assignment . The assignment is to display the weekly pay for each employee whose information is in a

This assignment is to implement the employee assignment. The assignment is to display the weekly pay for each employee whose information is in a file. The display needs to be in order based on social security number. The program requirements are
file name needs to be a command line argument
appropriate error handling needs to be done
appropriate design principles need to used
appropriate documentation needs to be supplied
employee objects need to be stored in a binary search tree where the social security number is used to order the employees.
There are 2 types of employees: hourly employees and salaried employees. All employees have a name and a social security number. Hourly employees also have an hourly rate and the number of hours. Salaried employees have a yearly rate.
You need to create your own data file. The entries in your file should look something like the following:
John_Doe 000000000 salaried 60000
Sally_Smith 999999999 hourly 15.538.5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!