2. Cecilia's Boutique wants several lists of salesperson 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 data 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 continuously accepts auction item data until a sentinel value is entered and displays all data for auctions in which the minimum required bid is over $300.00. c. A program that continuously accepts auction item data and displays data for every auction in which there are no bids yet (in other words, the minimum bid is $0.00) and the length of the auction is seven days or less. d. A program that continuously accepts auction data and displays data for every auction in which the length is between 14 and 28 days inclusive.
Added by Jennifer C.
Close
Step 1
Flowchart: Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 95 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a program that will allow a manager to determine and display the total sales for the department. The manager will enter the sales goal for the month. Then the manager will enter (input) the sales for each salesperson for four (4) weeks. After each salesperson, the program should ask the manager if there is another. Once all the sales are entered, the program will accumulate the total sales for the department. Display the total number of employees in the department and total sales for the department. The manager earns a 2% bonus on all sales for the month. If the total department's sales exceed the sales goal, then the manager's bonus is 5% of the total sales. Determine and display the sales goal and manager's bonus amount. Hint: Two loops are required - use a loop to allow for another salesperson's monthly sales to be entered and a second loop for the four (4) weeks of sales of the individual salesperson. Some sample Input/Output is provided on the next page. The output is based on the input for two (2) employees, one with weekly sales of (1200, 1300, 1250, 2250) and the second salesperson's sales (2399, 2103, 1900, 1000). Sales goal for the month - $11000
Aarya B.
Design a program that asks the user to enter a store's sales for each day of a 7-day week. The amounts should be stored in an array. Use a loop to calculate the total sales for the week, the average sales per day, and also display the list of values. This is for Java.
Cora M.
start housekeeping() detailLoop() Declarations: num numMilesDriven num costPerGallon num tripCost num newTripCost num INCREASE = 0.10 num MILES_PER_GALLON = 20 string MILES_PROMPT = "Enter the number of miles driven" string GALLON_PROMPT = "Enter the current cost per gallon" string ENDLINE = "End of program" return housekeeping() detailLoop() endOfJob() stop return return
Akash M.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD