Question: Your task is to create pseudo-code and a flowchart to calculate an employee's sales commission. Calculate the sales commission for an employee based upon the
Your task is to create pseudo-code and a flowchart to calculate an employee's sales commission.
Calculate the sales commission for an employee based upon the employee's total sales as shown in the table below. The user will input the total sales amount. The program should output the calculated sales commission.
| Total Sales | Sales Commission |
| $0 - $5,000 | 5% of Total Sales |
| $5,000 - $10,000 | 7.5% of Total Sales |
| Over $10,000 | 10% of Total Sales |
Inputs:
Total Sales in dollars
Outputs:
Sales commission in dollars
Assumptions:
The program will always generate a solution if Total Sales 0.
I am having trouble figuring out how to set this up.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
