# Module%205%20practice%20assignments - 5 a Design an...

• Notes
• SantiS
• 4
• 80% (5) 4 out of 5 people found this document helpful

This preview shows page 1 - 3 out of 4 pages.

5.a. Design an application for Domicile Designs that gets sales transaction data, including an account number, customer name, and purchase price. The store charges 1.25 percent interest on the balance due each month. Output the account number and name; then output the customer’s projected balance each month for the next 12 months. Assume that when the balance reaches \$25 or less, the customer can pay off the account. At the beginning of every month, 1.25 percent interest is added to the balance, and then the customer makes a payment equal to 7 percent of the current balance. Assume that the customer makes no new purchases. b. Modify the Domicile Designs application so it executes continuously for any number of customers until a sentinel value is supplied for the account number. 5a. Flowchart: 5a. Pseudocode: start Declarations num accountNum num balanceDue num month num paymentAmt
string custName num TOTAL_MONTHS = 12 num PAY_RATE = 0.07 num INTEREST_RATE = 0.0125 num MIN_BALANCE = 25 string PROMPT1 = “Enter an account number >> ”