Computer Science THIS MUST BE ANSWERED USING A UML STRATEGY DIAGRAM. This is a computer science based question. Please follow directions. Question: Draw the UML diagram using a strategy pattern for...


Computer Science


THIS MUST BE ANSWERED USING A UML STRATEGY DIAGRAM. This is a computer science based question. Please follow directions.



Question:



Draw the UML diagram using a strategy pattern for calculating different types of salaries. For example:



- Employees that work by the hour have a different tax rate and salary is calculated based on hours reported


- Employees under a contract have a set monthly salary but could still have a different withholding rate


- Overhours (for contract and hourly employees) are calculated using a 1.5 multiplier for their salary scale and are paid by the hour


- Employees might also receive compensation from a delivery regardless of hours worked



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here