Question: a Hotel Manager needs to design an application for his hotel, so the customers can use the application to get the hotel's services.The menu if

a Hotel Manager needs to design an application for his hotel, so the customers can use the application to get the hotel's services.The menu if the program is shown by calling the menu function, which includes the following services:T1. Book the room2. Check the invoice.each option is related to a function ( so we have 3 functions for these 3 options). There is a need to handling the options through a switch. the price is starting from 93.25 USD per night and decreasing by 5% for any extra night, but the minimum should be 50 whatever the number of nights.book room will recieve the room number, check if the room number is valid or not, if the number is valid then prints a message"The room No isbooked successfullycheck invoice this function will receive the number of nights, night_price, and prints the total price before TAX, then add 16% tax for the price and print it again. the precision of the invoices should be of 1 decimal digit only.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!