Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started