A retail company assigns a $5000 store bonus if monthly sales are more than $100,000; otherwise a $500 store bonus is awarded. Additionally, they are doing away with the previous day off program and are now using a percent of sales increase to determine if employees get individual bonuses. If sales increased by at least 4% then all employees get a $50 bonus. If they did not, then individual bonuses are 0.
Use functions and decision structures.
The company now wants to add additional levels to their store and employee bonuses. The new levels are as follows:
Store bonuses:
If store sales are $80,000 or more, store bonus is $3000
If store sales are $90,000 or more, store bonus is $4000
If store sales are $100,000 or more, store bonus is $5000
If store sales are $110,000 or more, store bonus is $6000
Employee bonuses:
If percent of increase is 3% or more, employee bonus is $40
If percent of increase is 4% or more, employee bonus is $50
If percent of increase is 5% or more, employee bonus is $75