Q. An electronic shop has announced the following seasonal discounts 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.0% |
| More than 10000 | 10.0% | 15.0% |
WAP based on the above criteria, to input amount of purchase and the type of purchased (Laptop or Desktop) by a customer. Compute and print the net amount to be paid by a customer.