A program that continuously accepts each salesperson''s first


Amanda Cho, a supervisor in a retail clothing store, wants to acknowledge high-achieving salespeople. Design a flowchart AND pseudocode for the following:

a) A program that continuously accepts each salesperson's first and last names, the number of shifts worked in a month, number of transactions completed this month, and the dollar value of those transactions. Display each salesperson's name with a productivity score, which is computed by first dividing dollars by transactions and dividing the result by shifts worked. Display three asterisks after the productivity score if it is 50 or higher.

b) A program that accepts each salesperson's data and displays the name and a bonus amount. The bonuses will be distributed as follows:

? If the productivity score is 30 or less, the bonus is $25.
? If the productivity score is 31 or more and less than 80, the bonus is $50.
? If the productivity score is 80 or more and less than 200, the bonus is $100.
? If the productivity score is 200 or higher, the bonus is $200.

c) Modify Exercise "b" above to reflect the following new fact, and have the program execute as efficiently as possible:
? Sixty percent of employees have a productivity score greater than 200. 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A program that continuously accepts each salesperson''s first
Reference No:- TGS089792

Expected delivery within 24 Hours