429,313 Members | 2,798 Online
Need help? Post your question and get tips & solutions from a community of 429,313 IT Pros & Developers. It's quick & easy.

# Retail Application

 P: 2 I've been assigned a task to design a program for a local Furniture Company. The company allows customers that cannot pay cash for the furniture to pay a deposit and pay the balance in monthly installments, provided that the total amount of the purchase does not exceed R100.000. The amount of the deposit to be paid depends on the total of the purchase. *The deposit for purchases less than R25.000 is calculated as 5% of the purchase amount. *Purchase amounts between R25.000 and R49.999 require a deposit of R1.500 plus 10% of the purchase amount over R25.000. *Purchases between R50.000 and R100.000 require a deposit of R5.000 plus 25% of the purchase amount over R50.000. *if the purchase amount is more than R100.000 a message must be displayed to the user, that "The amount is invalid". After the deposit is calculated, print the purchase amount and the deposit, only if the deposit is more than zero. Design an algorithm that will read a purchase amount, compute and print the required deposit for a customer. Solution 1. A Defining Diagram 2. The solution algorithm in pseudo-code 3. A flowchart that corresponds to the pseudo-code 4. An expected results table 5. A desk checking table Apr 14 '10 #1