Question: As a programmer, you are required to develop a program to track their business daily for an unknown number of guests. Design a program that

As a programmer, you are required to develop a program to track their business daily for an unknown number of guests. Design a program that requires the person in charge to insert the details of the guest.

A. Room & Suites Code based on the following table B. Number of guest C. Length of stay (day)

The program will stop until the user enters N.

Table 1 Room & suite price price Room & Suites Name Room & Suites Code Room & Suites Cost (RM) Executive Pool Villa E 684.00 Premium Pool Villa P 747.00 Sky Pool Villa S 684.00 Royal Suite R 3371.00 Imperial Suite I 4010.00

The program should be able to analyse:

A. Total guest for each room category B. Average guest for all room category C. Percentage for each room category D. The most popular room and unpopular room E. Total income per room F. Total income for all room

Your program should contain selection and repetition control structure. You need to declare suitable functions to calculate the analysed values.

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!