2. Mortimer LifeInsurance Company wants several lists of salesperson data. Design a
flowchart orpseudocode for the following:
a. A program that accepts a salesperson’s ID number and number ofpolicies
sold in the last month, and displays the data only if the salespersonis a
high performer—a person who sells more than 25 policies in the month.
b. A program that accepts salesperson data continuously until asentinel value is
entered and displays a list of high performers.
3. ShoppingBayis an online auction service that requires several reports. Design a
flowchart orpseudocode for the following:
a. A program that accepts auction data as follows: ID number, itemdescription,
length of auction in days, and minimum required bid. Display data foran
auction if the minimum required bid is over $100.00.
b. A program that continuously accepts auction data until a sentinelvalue is
entered and displays a list of all data for auctions in which theminimum
required bid is over $100.00.
c. A program that continuously accepts auction data and displays datafor every
auction in which the minimum bid is $0.00 and the length of theauction is one
day or less.
Write a program for exercise 7(choose a, b, or c) on page 165 (from the class book)
(FromPage 165) 7. Mark Daniels is a carpenter who creates personalized house signs.He wants an
applicationto compute the price of any sign a customer orders, based on the
followingfactors:
l The minimum charge for all signs is $30.
l If the sign is made of oak, add $15. No charge is addedfor pine.
l The first six letters or numbers are included in theminimum charge; there is a
$3 charge for each additional character
Black or white characters are included in the minimum charge; there isan
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 entereddata and
the final price for the sign.
b. A program that continuously accepts sign order data and displaysall the
relevant information for oak signs with five white letters.
c. A program that continuously accepts sign order data and displaysall the
relevant information for pine signs with gold-leaf lettering and morethan
10 characters.