Overview of Project
This project will facilitate the Hotel owner in the Hotel to keep record of rooms and reservations and create a report on regular basis.
Project Detail
The Hotel for which you are creating this project has 5 floors and each floor has 50 rooms.
Following are types of rooms:
Standard
This category usually means the most basic room type offered by the hotel. It has basic, standard amenities and furnishings. A standard room in a Four Seasons hotel is without question much more deluxe than a standard in, say, a Holiday Inn, but there may be higher categories from which to choose. Standard rooms in hotels with higher categories often have no view or have a poor view over the dumpster or parking lot.
Price is Rs.300 / 24 Hours
This Hotel contains total of 50 rooms of this type, 10 on each floor.
Moderate
Usually a slight bit better than standard, but still not deluxe. It may refer to the room view as well as the size and type of furnishings offered.
Price is Rs. 500 / 24 Hours
This Hotel contains total of 50 rooms of this type, 10 on each floor.
Superior
This category is always subject to interpretation. It's supposed to mean superior to a standard room in both size and furnishings, but it often refers to just the view. Some hotels have only Superior rooms; the categories then are defined by the view and location of the room.
Price is Rs. 1000 / 24 Hours
This Hotel contains total of 50 rooms of this type, 10 on each floor.
Junior Suite
A "junior" suite is typically a larger room with a separate seating area. Sometimes it's got a small divider between the part of the room that the bed is in and the seating area, but it is not two separate rooms.
Price is Rs. 2000 / 24 Hours
This Hotel contains total of 50 rooms of this type, 10 on each floor.
Suite
A Suite is usually two or more rooms clearly defined; a bedroom and a living or sitting room, with a door that closes between them. Many hotels use the word "suite" to define any room with a sofa in it so be sure to check thoroughly if what you really want are the two or more separate rooms.
Price is Rs. 5000 / 24 Hour
This Hotel contains total of 50 rooms of this type, 10 on each floor.
This Hotel records following information of its customer
Full Name
Age
Gender
ID card-Number
Balance in Rupees (If paid in advance, balance will be zero)
Total Days to reserve
Floor Number on which reserved room is
Room Type
Room Number
Check in time and date
Checkout time and date
Time remaining in the Hotel ( in Hours, should be calculated on runtime, automatically)
Menu/Option
If room is reserved it should not be reserved again until customer checkout or reserve time is ended.
When room is reserved, it should ask customer if he/she is old customer or new customer.
o If new customer, then record all the above mentioned things and give customer a room.
o If old customer, then search old customer name in the database (file) and retrieve all his/her info and give him/her a room.
NOTE: There is a lot of difference in Reserve and Check in a customer.
In Detail Report you’ve to give daily base statistics for example
o How many customers have checked in today o How many have checked out today
o How many rooms have been reserved and their types o How many are empty and their types.
You also have to save all the information in the files. There is no restriction on the file format.
Class Design
For Rooms make following class hierarchy:
Room
Standard
Moderate
Superior
Junior Suite
Suite
You must use all concept of classes including inheritance, polymorphism along with arrays and functions etc.
Data Storage
In Files
All the data should be saved in files.
Filing section contains almost 50 % marks of the whole project.
If I close the program and run it again, it should read all the records and old data that were saved last time.
You can use any format for filing.
All the information of room should be saved in rooms.dat file
All the information of customers should be saved in customers.dat file
Answers
Answered by
3
Answer:
A magnet placed against the wall of a metal shed falls to the ground, where it attracts a nail. What is the most likely explanation for this observation?A magnet placed against the wall of a metal shed falls to the ground, where it attracts a nail.
Similar questions