Question: Problem Solving using the Simple Sequence Structure: Consider the sales operations of a large department store. A sales manager delegates responsibilities to supervisors in various
Problem Solving using the Simple Sequence Structure: Consider the sales operations of a large department store. A sales manager delegates responsibilities to supervisors in various departments. Each supervisor has to prepare the weekly sales report for their department that will give the salespersons pay for the week. Usually a salespersons pay is determined in part by how much he or she has sold in a given week. In your problem the sales will be divided into two categories: those items sold at regular price and those items sold at a reduced or sale price which will be the input values. Each person will be paid a base amount of $400 as well as a percentage of his or her weekly sales. The percentage (commission) will be 6 percent on the sales of regular-priced items and 3 percent on sales of sale-priced items. The supervisors have decided that there needs to be 2 inputs for the two weekly sales totals for an employee. The regular commission will be computed by multiplying the regular sales amount by 6 percent. The sales commission will be computed by multiplying the reduced sales amount by 3 percent. The total pay will be computed by adding all amounts together: base pay, regular commission and sales commission and lastly they will print or display the total pay for that employee. Submit your pseudocode in the box below. Make sure that you DECLARE ALL VARIABLES and USE THE MODULAR FORMAT. Feel free to type your program in Word and then Copy and Paste your results here.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
