Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 0 Points ) Crazy Al s Computer Emporium is a retail seller of home computers. The sales staff at Crazy Al s work strictly

10 Points) Crazy Als Computer Emporium is a retail seller of home computers. The sales
staff at Crazy Als work strictly on commission. At the end of the month, each salespersons
commission is calculated according to the following Table:
Table
Crazy Als Commission Rate Structure
Sales This Month Commission Rate
Less than $10,0005%
$10,000$14,99910%
$15,000$17,99912%
$18,000$21,99914%
$22,000 or more 16%
For example, a salesperson with $16,000 in monthly sales will earn a 12% commission
($1,920.00). Another salesperson with $20,000 in monthly sales will earn a 14% commission
($2,800.00).
Because the staff only gets paid once per month, Crazy Als allows each employee to take up to
$1,500 per month in advance. When sales commissions are calculated, the amount of each
employees advanced pay is subtracted from the commission. If any salespersons commissions
are less than the amount of their advance, they must reimburse Crazy Als for the difference.
Here are two examples: Beverly and John have $21,400 and $12,600 in sales, respectively.
Beverlys commission is $2,996 and Johns commission is $1,260. Both Beverly and John took
$1,500 in advance pay. At the end of the month, Beverly gets a check for $1,496, but John must
pay $240 back to Crazy Als. Write a program that eases the task of calculating the end-of-month
commission.
Identify the input and output variables and types.
List the steps the program must perform to get the outputs from inputs.
Write the detailed pseudocode with the actual variable names used in the program.
Transform your pseudocode to a C++ program.
Program output after execution of the program assuming the user entered numbers given in the
problem description when prompted for the inputs.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions