Answer to Question #213880 in Functional Programming for Gisa

Question #213880
  1. A retail shop offers discounts to its customers according to the following rules:

Purchase Amount  >= Ksh. 10,000 - Give 10% discount on the amount.

Ksh. 5, 000 <= Purchase Amount < Ksh. 10,000 - Give 5% discount on the amount.

Ksh. 3, 000 <= Purchase Amount < Ksh. 5,000 - Give 3% discount on the amount. 

0 > Purchase Amount  < Ksh. 3,000 - Pay full amount.

Write a program that asks for the customer’s purchase amount, then uses if statements to recommend the appropriate payable amount. The program should cater for negative purchase amounts and display the payable amount in each case.


1
Expert's answer
2022-01-19T10:29:50-0500
Dear Gisa, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS