Computer Science, asked by Leyaqat, 10 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.​

Answers

Answered by dobhalsanjay229
0

days" (and any subsequent words) was ignored because we limit queries to 32 words.

Similar questions