2. Mortimer 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.
3. ShoppingBay
is an online auction service that requires several reports. Design a
flowchart or
pseudocode for the following:
a. A program that accepts auction data as follows: ID number, item
description,
length of auction in days, and minimum required bid. Display data for
an
auction if the minimum required bid is over $100.00.
b. A program that continuously accepts auction data until a sentinel
value is
entered and displays a list of all data for auctions in which the
minimum
required bid is over $100.00.
c. A program that continuously accepts auction data and displays data
for every
auction in which the minimum bid is $0.00 and the length of the
auction is one
day or less.
Write a program for exercise 7
(choose a, b, or c) on page 165 (from the class book)
(From
Page 165) 7. Mark Daniels is a carpenter who creates personalized house signs.
He wants an
application
to compute the price of any sign a customer orders, based on the
following
factors:
l The minimum charge for all signs is $30.
l If the sign is made of oak, add $15. No charge is added
for pine.
l The first six letters or numbers are included in the
minimum charge; there is a
$3 charge for each additional character
Black or white characters are included in the minimum charge; there is
an
additional $12 charge for gold-leaf lettering.
a. A program that accepts data for an order number, customer name,
wood type,
number of characters, and color of characters. Display all the entered
data and
the final price for the sign.
b. A program that continuously accepts sign order data and displays
all the
relevant information for oak signs with five white letters.
c. A program that continuously accepts sign order data and displays
all the
relevant information for pine signs with gold-leaf lettering and more
than
10 characters.