Problem

Construct a solution algorithm for the following programming problems. To obtain your fi...

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.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 8
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT