Hi guys✌✌
Before answering my question ⚠make sure that you know the answer ⚠⚠
My question ⤵⤵⤵⤵⤵
✍✍✍✍✍✍✍✍✍✍✍✍
A shopkeeper offers a discount on the goods purchased by the costumer.Calculate discount on the purchased goods.
Here is the table according to which you have to make a program.....⤵⤵⤵⤵
⭐Goods purchased.....
1 ✈Less than 1000 but more than 500,then discount = 5%
2 ✈More than 1000 but less than 2000, discount = 10%
3 ✈More than 2000 but less than 3000, discount = 15%
4 ✈More than 3000 but less than 4000, discount = 20%
5 ✈More than 4000 but less than 5000, discount =30%
❎No irrelevant answers ❎
Thank you ❤
☝☝☝☝☝☝☝☝☝☝
☺☺☺☺☺☺☺☺☺☺
##Divjot##@. ✌✌
Answers
Answered by
4
after that System.out.println( " discount="+ d); System.out.println(" amount to be paid="+ pay); tmthen give two curly brackets. Answer is not of same question but the pattern of solving both questions r same. I hope it can help u. hi
Attachments:
Answered by
3
See the attached file
Attachments:
Similar questions