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 successful applicants who have applied at the local Riff Raff department store for credit. Each input record contains the applicant’s name, employment status, years in current job (if any), years at current residence, monthly wage, amount of non-mortgage debt, and number of children.

Your program is to read the applicant’s file and determine whether or not each applicant will be granted credit. The store grants credit to a person who has worked in the same job for more than one year, as well as to someone who is employed and has lived at the same location for at least two years. However, credit is denied if a person owes more than two months’ wages in non-mortgage debt or has more than six children.

Print a detail line for each applicant, listing the applicant’s name and whether or not that applicant has been granted credit. Print headings and column headings at the top of each page, allowing for 45 detail lines per page. Print the total number of successful applicants 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