
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 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.
الخطوة 1 من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
الخطوة 2 من 2
لماذا لم يعجبك هذا التمرين؟
أخرى