Computer Science, asked by vaishnavibaybu, 5 months ago

2. ‘Mega Market’ has announced festival discounts on the purchase of items, based on the total cost of the items purchased
Total cost
Discount
Up to Rs Rs.2000
5%
Rs 2001 to Rs.5000
10%
Rs 5001 to Rs 10,000
15%
Above Rs 10,000
20%
Write a program to input the total cost. Display name of the customer, discount and the amount to be paid after discount.

Answers

Answered by hrai86217
0

Answer:

'Mega Market' has announced festival discounts on the purchase of items, based on the total cost of the items purchased:

Total cost Discount

Up to ₹2,000 5%

₹2,001 to ₹5,000 10%

₹5,001 to ₹10,000 15%

Above ₹10,000 20%

Write a program to input the total cost. Display name of the customer, discount and the amount to be paid after discount.

Similar questions