Question: Write a c++ program that represents a hotel rental service. Using inheritance hierarchy make a base class Room,derived class Premium_room and derived class Basic_room. Premium

Write a c++ program that represents a hotel rental service. Using inheritance hierarchy make a base class Room,derived class Premium_room and derived class Basic_room. Premium should allow add ins such as room service and cable. Base room and premium room should have different rates. Program should assign a room to customer and store their information (Name, date of birth, credit card number, email, and bill depending on the room they choose) into an array so it can be pulled up when needed. Please also include the following requirements in the program. Thank you.
 Write a c++ program that represents a hotel rental service. Using

Obiect-oriented construction Class Two constructors Overloaded function Reference variable C++ string Exception handling Throw try/catch Namespace

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!