Computer Science, asked by dilippoddar85, 8 months ago

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 karanveerarora
1

Answer:1

Explanation:

Similar questions