Construct a solution algorithm for the following programming problems. To obtain your final solution, you should:
• define the problem
• group the activities into modules
• construct a hierarchy chart
• establish the logic of the mainline using pseudocode
• develop the pseudocode for each successive module in the hierarchy chart
• desk check the solution algorithm.
Design an algorithm that will read a file of sales volume records and print a report showing the sales commission owing to each salesperson. Each input record contains salesperson number, name and that person’s volume of sales for the month. The commission rate varies according to sales volume, as follows:
The calculated commission is an accumulated amount according to the sales volume figure. For example, the commission owing for a sales volume of $1200.00 would be calculated as follows:
Commission = (200 * 5%) + ((1000 – 200) * 8%) + ((1200 – 1000) * 10%))
Your program is to print the salesperson’s number, name, volume of sales and calculated commission, with the appropriate column headings.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.