Ask Question
8 February, 20:15

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. 8 February, 20:58
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers