Question: Write pseudo code for the following problem: A retail company assigns a $5000 store bonus if monthly sales are $100,000 or more. Additionally, if their
Write pseudo code for the following problem:
A retail company assigns a $5000 store bonus if monthly sales are $100,000 or more. Additionally, if their sales exceed 125% or more of their monthly goal of $90,000, then all employees will receive a message stating that they will get a day off.
When your pseudo code is complete, test the following monthly sales and ensure that the output matches the following. If your output is different, then review your decision statements.
Monthly Sales
Expected Output
monthlySales = 102500
You earned a $5000 bonus!
monthlySales = 90000
monthlySales= 112500
You earned a $5000 bonus!
All employees get one day off!!!
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Module main Declare local variables Declare Real monthlySales Functi... View full answer
Get step-by-step solutions from verified subject matter experts
