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

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
icon
Related questions
Question

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

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage