
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
Edition 7ISBN: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
Edition 7ISBN: 1285225562Mortimer Life Insurance Company wants several lists of salesperson data. Design a flowchart or pseudocode for the following:
a. A program that accepts a salesperson’s ID number and number of policies sold in the last month, and displays the data only if the salesperson is a high performer—a person who sells more than 25 policies in the month.
b. A program that accepts salesperson data continuously until a sentinel value is entered and displays a list of high performers.
Step 1 of 2
a.
The following Pseudocode inputs sales person details and displays whether person is high performer.
Start
num ID
num numPolicies
housekeeping()
if numPolicies> 25
output "High performer:"
Display()
endif
finish()
stop
housekeeping()
output " Enter sales person details"
input ID, numPolicies
return
Display()
output ID, numPolicies
return
finish()
output "Program end "
return
Step 2 of 2
Why don’t you like this exercise?
Other