Answered step by step
Verified Expert Solution
Link Copied!

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: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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

Write formal proposal requests.

Answered: 1 week ago

Question

Write an effective news release.

Answered: 1 week ago

Question

Identify the different types of proposals.

Answered: 1 week ago