using c++ You have been contracted to build a hotel reservation system. This is the system...

80.2K

Verified Solution

Question

Programming

using c++ You have been contracted to build a hotel reservationsystem. This is the system that hotel desk clerks will use to takedesk reservations.

Assumptions: This is acting as though the only reservationstaken are at the desk. All reservations are for one night. Thehotel is empty when you start the program.

First, this program will give the fullinventory of rooms in the hotel.

Total rooms: 122

There are four types of rooms with these prices:

  • Standard Rooms, Courtyard - 70 - $125 a night
  • Standard Room, Scenic - 35 - $145 a night
  • Deluxe Suite - 15 - $350 a night
  • Penthouse - 2 - $1135 a nigh

    Second, the program will allow for a room to bereserved for one night. The program will keep track of theinventory as rooms are being reserved.

    Third, the program will keep track of revenuebrought in for the day from reserved rooms.

    Fourth, the user can choose a getTotal()function that will display remaining room inventory, what wasreserved and revenue generated for the day.

  • PLEASE NOTE: This project must incorporate aclass friend or class inheritance structure.

Answer & Explanation Solved by verified expert
3.6 Ratings (253 Votes)
includeusing namespace stdclass    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students