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 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 do not, then individual bonuses are 0. Step 6: Write a module that will print the store bonus and the employee bonus amount. Name this module printBonus() and pass the two necessary variables.
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 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 do not, then individual bonuses are 0.
Step 6: Write a module that will print the store bonus and the employee bonus amount. Name this module printBonus() and pass the two necessary variables.
//MODULE 5
//this module will display store and employee bonus info.
Module ___________(Real ___________, Real ___________)
Display “The store bonus is $”, __________________
Display “The employee bonus is $”, _______________
End Module

Step by step
Solved in 3 steps with 1 images









