nics'has announced the following seasonal discounts on purchase
interest
Kumar Electronics
of certain items
Purchase Amount
Discount on
Laptop
0.0%
Up to
25000
* 25,001 to 50,000
* 50,001 to * 1,00,000
More than 1,00,000
Write a program to input name.
('L' for Laptop and 'D' for De
Discount on
Desktop PC
5.0%
5.0%
7.5%
7.5%
10.0%
10.0%
15.0%
gram to input name, amount of purchase and the type of purchase
op and 'D' for Desktop) by a customer. Compute and print the net
ount to be paid by a customer along with his name.
[ICSE-2009)
tot amount = Amount of purchase - discount)
amou
Answers
Answered by
10
Answer:
plz check the attachments...
I hope it helps :-)
Explanation:
this program is written in java language.. u can work it out in j creater or bluej ....
plz note the capital letters and semicolons, colons in correct places to get an error free program....
if u need variable description plz let me know in the comments....
Attachments:
Similar questions