Start with the employee database from the previous project. Expand that project to: - Create two subclasses from the class you created
- One subclass has two new attributes: Hours Worked, and Hourly Rate
- The other subclass has one additional attribute: Monthly Salary
- Create a few entries in both databases
- The script runs interactively, with the following options (as a menu, loop until the user quits):
- Print a company directory including all employees
- Allow the user to enter hours worked for a single employee; if that employee is a monthly paid employee, print an error
- Print a list of what payments are pending for all employees
|