194
Branching
Display
Use the flowchart on the opposite page to help you write a
program that will allow a salesman to compute his commissions
at the rates of 10% for sales of up to $1000, 12.5% forsales of
$1000 to $5000, and 15% for sales of over $5000. The program
should display the amount of commission when it stops.
Load the program and runit for sales amounts of $500, $1000,
$1500, $5000, and $6000.
(Answers: $50.00, $125.00, $187.50, $625.00, $900.00)