in a java program 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
3
Answer:
hxhdhfhfuto meet you at the starting your own script or need any other questions or need any other questions or need anything ☺️☺️ the starting lines of credit cards
Similar questions