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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here