An electronic shop has announced the following seasonal discounts on the purchase of certain items
Purchase amount in Rs.- 0-25000 & 25001-57000 & 57001- 100000 & More than 100000
WITH
Discount on laptop - 0.0% & 5.0% & 7.5% & 10.0%
WITH
discount on desktop- 5.0% & 7.5% & 10.0% & 15.0%
Write a program based on the above criteria to input name,address,amount if purchase and type of purchase(L for Laptop and D for Desktop) by the customer. calculate and print the net amount to be paid by a customer along with his/her name and address. [Use ternary operator to calculate discount on Laptop and Desktop.
Hint :(discount=(discount rate/100)*amount of purchase)
(Net amount= amount of purchase-discount)
Answers
Answered by
0
Answer:
kon inn hmm gg kk high onion redd
Explanation:
jxjjsjsisja is no nqjajaiakaoajaoaja ok so iaja
Similar questions
Science,
4 months ago
Social Sciences,
4 months ago
English,
4 months ago
Science,
9 months ago
Chemistry,
1 year ago