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:T Book the room Check the invoice.each option is related to a function so we have functions for these options There is a need to handling the options through a switch. the price is starting from USD per night and decreasing by for any extra night, but the minimum should be 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, nightprice, and prints the total price before TAX, then add tax for the price and print it again. the precision of the invoices should be of decimal digit only.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
