A Bookseller makes special discount for multiple orders of a book as follows:
AMOUNT DISCOUNT
5-9 5%
10-14 10%
15-19 15%
20+ 20%
Write a C main function to read the amount of order from the standardinput and compute and print the total price of the given order after thediscount. Assume that unit price of a book is 10.00 TL.
Konuyu Favori Sayfanıza Ekleyin