Ask Question
30 January, 20:21

Cecilia's Boutique wants several lists of salsperson data. Design a flowchart or pseudocode for the following:

a. A program that accepts one salesperson's ID number, number of items sold in the last month, and total value of the items and displays message only if the salesperson is a high performer - defined as a person who sells more than 200 items in the month. b. A program that accepts the salesperson's data and displays a message only if the salesperson is a high performer - defined a person who sells more than 200 items worth at least $1,000 in the month. c. A program that accepts salesperson data continuously until a sentinel value is entered and displays a list of the ID numbers of those who sell more than 100 items in the month. d. A program that accepts salesperson data continuously until a sentinel value is entered and displays a list of salespeople who sold between 50 and 100 items in the month.

+1
Answers (1)
  1. 30 January, 23:12
    0
    a:

    1. Accept ID Number, No of items sold in last month, total value of items.

    2. if No of items sold in last month > 200

    Display 'sales person is an high perfomer'

    Else

    Exit

    b:

    1. get the sale person data

    2. If No of Items > 200 and Total value of Items >$2000

    Display "salesperson is an high perfomer"

    Else

    Exit

    c:

    1. Get the sales persons data

    2. do until Last record of sales person dа ta:

    Read data

    If No of Items > 100

    Display sales person ID

    Else

    Read next record

    End if

    End do

    Exit

    d:

    1. Get the sales person data

    2. Do until last record

    Read record

    If No of items > 50 and No of items < 100

    Display sales person

    Else

    Read next record

    End if

    End do

    Exit
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Cecilia's Boutique wants several lists of salsperson data. Design a flowchart or pseudocode for the following: a. A program that accepts ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers