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 (also consider the data that each module requires)

• 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 produce a list of selected customers from a customer file. Each input record contains the customer’s name, current monthly sales and year-to-date sales. Each time the program is run, a parameter record containing a dollar amount is read in as the first record in the file.

Your program is to read the parameter record, followed by the customer file, and prepare a list of customers whose purchases total at least $10 000 in the current month. Customers should also be included in the list if their year-to-date sales are at least as great as the amount read in as the parameter.

Print a detail line for each customer, listing customer’s name, current monthly sales, year-to-date sales and the parameter amount. Print headings and column headings at the top of each page, allowing for 45 detail lines per page. Print the total number of selected customers at the end of the report.

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 10
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