Code CODO
QUESTION
(1). An eletronic shop has announced the following seasonal discount on the purchase of certain items.
Purchase Amount
Discount On Laptop
Discount On Desktop
0 - 2500
0.0%
5.0%
2501 - 5700
5.0%
7.5%
5701 - 10000
7.5%
10.00%
More than 10000
10.0%
15.0%
Write a program based on the above criteria, to input name, address , amount of purchase and the type of purchsed (L for Laptop and D for Desktop) by a customer. Compute and print the net amount to be paid by the customer along with his name and address.