A company deals with two types of customers (ie: Dealer and Retailer) for selling
his goods. The company also offers discount to the Dealer and Retailer at the
time of purchasing goods for paying the bill, as per the tariff given below:
Discount for Retailer
Days of payment
Within 30 days
31 to 45 days
46 to 60 days
More than 60 days
Discount for Dealer
150
10%
10%
5%
2%
5%
No discount
No discount
Write a program in Java to accept:
(i) The number of days within which the bill is to be paid.
(ii) The type of customer 'D' for dealer and 'R' for retailer.
dii) The amount of purchase.
1
Answers
Answered by
1
Answer:1
Explanation:
Similar questions
Math,
4 months ago
Physics,
4 months ago
Math,
4 months ago
Computer Science,
8 months ago
Math,
8 months ago
Physics,
11 months ago
Social Sciences,
11 months ago
English,
11 months ago