81,917 views
30 votes
30 votes
Can anyone do this flowchart chart for me could send it to my insta - chelsea.ejb

company awards its workers with overtime bonuses depending on how many hours of overtime they work per month. The following table summarizes the hours as well as the rates of pay for overtime hours.

Hours Worked Overtime Bonus Amount 10-15 hours $1000 16-20 hours $1500 21-25 hours $2000 26-30 hours $3000 > 30 hours $5000

Draw a flowchart to show how overtime hours are calculated. Write an algorithm to depict what was shown in the flowchart.​

User Sue
by
2.5k points

1 Answer

19 votes
19 votes

Answer:

see attached picture

Step-by-step explanation:

An algorithm would be:

if hours < 10 then bonus = 0

else if hours <= 15 then bonus = 1000

else if hours <= 20 then bonus = 1500

else if hours <= 25 then bonus = 2000

else if hours <= 30 then bonus = 3000

else bonus = 5000

Can anyone do this flowchart chart for me could send it to my insta - chelsea.ejb-example-1
User Trystan Sarrade
by
2.7k points