Question: you are asked to design an algorithm to compute the employee's bonus using the rules shown below: Bonus Schedule Overtime - (2/3) * Absent Bonus
you are asked to design an algorithm to compute the employee's bonus using the rules shown below:
Bonus Schedule | |
|---|---|
| Overtime - (2/3) * Absent | Bonus Paid |
| greater than 40 hours | $50 |
| greater than 30 but less than 40 hours | $40 |
| greater than 20 but less than 30 hours | $30 |
| greater than 10 but less than 20 hours | $20 |
| less than 10 hours | $10 |
First, design the algorithm for computing the employee's bonus (30%).
Second, draw the flow chart diagram (30%).
Third, implement the algorithm using the Python program on JupyterNotebook. Download the codes as homework.py(40%).
Fourth, submit, the algorithm, flow chart, and homework.py for credit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
