Computer Science, asked by mitrasoumik33, 8 months ago

Question 10
A company deals with two types of customers (i.e. : 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:-
Days of payment Discount for Dealer Discount of Retailer on
On purchase amount purchase amount
With in 30 days 15%
10%
With in 45 days
10%
5%
With in 60 days
2%
More than 60 days No discount
No discount/
Write a program to accept
The number of days within which the bill is to be paid.
The type of customer 'D' for dealer and 'R' for retailer. Hii) The amount of purchase.
The program displays the details to the customer at the time of paying the bill.
5%​

Answers

Answered by prem6284651788
1

Answer:

yo l will answer first mark me brainlist

Similar questions