OneCompiler

Project 1

88

A cloth showroom has announced the following seasonal discounts on purchase of items:

Discount

Purchase

amount

Mill cloth

Handloom items

0 100

101-200

5%

201-300

7.5%

Above 300

10.0%

5%

7.5%

10.0%

15.0

Write a program using switch and if statements to compute the net amount to be paid by a customer.```