Q. A cloth showroom has announced the following festival discounts on the purchase of items, based on hte total cost of the items purchased.
| Total Cost | Discount(%) |
| Less than Rs. 2000 | 5% |
| Rs. 2001 to Rs. 5000 | 25% |
| Rs. 5001 to Rs. 10000 | 35% |
| Above Rs. 10000 | 50% |
WAP to input the total cost and to compute and display the amount to be paid by the customer after availing the discount.