I WANT JAVA PROGRAMMING.
. A hotel is giving a seasonal discount on the total discount to be paid by the customer.
The charges for different rooms are given below:
Category Tariff
Semi Deluxe Room ₹ 2500 /- per day
Deluxe Room ₹ 3500 /- per day
Super Deluxe Room ₹ 5000 /- per day
The discount will be given as per the following criteria:
No. of days stayed Discount
Up to 5 days 10 %
More than 5 days and up to 10 days 20 %
More than 10 days 30 %
Write a program to input the name of the customer, category of the room (‘S’ for semi
Deluxe, ‘D’ for Deluxe, ‘SD’ for Super Deluxe) and the number of days stayed in the
hotel. Calculate the discount and the total amount to be paid. Print the bill along with
the name.
Answers
Answered by
0
Answer:
please write in short bro please mark me as a brainliest
Similar questions