Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

OOP MICROPROJECT 926-930

A Microproject on

DEVELOPE HOTEL
MANAGEMENT APPLICATION.
SUBMITTED BY :
926.KUNAL BODAKHE.
927. CHAITALI KAWALE.
928. CHIRAG PINGALE.
929. DARSHAN WAGHULDE.
930. OJAS RASAM.

Under The Guidance Of :


Ms. RUPALI GUND.

In the partial fulfilment for the award of the Diploma In


Computer Engineering.
S.H.JONDHALE POLYTECHNIC.
DOMBIVLI (W).

1|Page
OOP MICROPROJECT 926-930

MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION.
Certificate

This is to certify that KUNAL BODAKHE, CHAITALI KAWALE,


CHIRAG PINGALE, DARSHAN WAGHULDE, OJAS RASAM
of Third Semester of Diploma in Computer Engineering of
Institute S.H.Jondhale Polytechnic (Code: 0044) has completed
the term work satisfactorily in subject Object Oriented
Programming (22316) for the academic year 20 20 to 20 21 as
prescribed in the curriculum.
Place: DOMBIVLI (W).
Date: __/____/2021.

Subject Teacher Head of the Department Principal

2|Page
OOP MICROPROJECT 926-930

ACKNOWLEDGEMENT :

We would like to express our special thanks of gratitude to our teacher


Ms. Rupali Gund mam as well as our principal Mr.Sachin Jondhale Sir.
Who gave the golden opportunities to this wonderful project on the
topic Develop Hotel Management Application which also helped in
doing a lot of research and we came to know about so many things and
secondly we would like to thank our parents and friends who helped us
a lot in finalizing the project within the limited time frame.

3|Page
OOP MICROPROJECT 926-930

ABSTRACT :
Hotel Management System is based on the concept of managing the
record of a Hotel. There are no login features in this simple
application. This mini project contains limited features, but the
essential one.
The Hotel Management System Project is develop in C programming language,
This program is adapted to provide us information on reserving rooms, book an
event, check the features etc.

A Hotel Management System is untroublesome as it will serve the admin or user


to be updated about the records without any strain and it is favored much by the
people involved in the business sector. As we are aware of the busy and hectic
schedule of business people, this Hotel Management System In C Language
turns out to be a great relief for them.

This Hotel Management System definitely has a wide scope to minimize errors
in the making of bills and it also limits the delay of delivering bills to the
customers which can include taxes on the basis of their expenditure.

4|Page
OOP MICROPROJECT 926-930

TABLE OF CONTENTS

SR.NO TOPICS
1 Acknowledgement.
2 Abstract.
3 Introduction.
4 Advantages.
5 Objectives.
6 Existing system.
7 Number and description of modules.
8 Software and Hardware Requirements.
9 Source code.
10 Program Output.
11 Conclusion.
12 References.

5|Page
OOP MICROPROJECT 926-930

Introduction:
What is store management system?
This document will contain the functional requirements of the project and how
the developers will enhance the project to achieve all the objectives. The SRS
will serve as a guide for the client and the developers. In This RHMS is an
establishment that provides paid lodging, usually on a short-term basis. The
provision of basic accommodation, in times past, consisting only of a room with
a bed, a cupboard, a small table and a washstand has largely been replaced by
rooms with modern facilities, including en-suite bathrooms and air conditioning
or climate control. Additional common features found in hotel rooms are a
telephone, an alarm clock, a television, and Internet connectivity; snack foods
and drinks may be supplied in a mini-bar, and facilities for making hot drinks.
Larger hotels may provide a number of additional guest facilities such as a
restaurant, a swimming pool or childcare, and have conference and social
function services.

The cost and quality of hotels are usually indicative of the range and type of
services available. Due to the enormous increase in tourism worldwide during
the last decades of the 20th century, standards, especially those of smaller
establishments, have improved considerably. For the sake of greater
comparability, rating systems have been introduced, with the one to five stars
classification being most common and with higher star ratings indicating more
luxury. Hotels are independently assessed in traditional systems and these rely
heavily on the facilities provided Some consider this disadvantageous to smaller
hotels whose quality of accommodation could fall into one class but the lack of
an item such as an elevator would prevent it from reaching a higher
categorization In some countries, there is an official body with standard criteria
for classifying hotels, but in many others there is none. There have been
attempts at unifying the classification system so that it becomes an
internationally recognized and reliable standard[citation needed] but large
differences exist in the quality of the accommodation and the food within one
category of hotel.

6|Page
OOP MICROPROJECT 926-930

Advantages :
1. Simplifies Front Office Tasks –
A hotel booking system can provide the ‘real time’ status of
the hotel rooms. Front desk staff can draw bookings directly
on their front desk console and update them with complete
ease. A booking system like Hotelogix, even has a ‘Dynamic
Room Allocation Manager’ which automatically allocates
rooms to guests by scanning through various parameters,
such as, cleanliness, availability, occupancy, and so on.

2. Enables distribution –
Hotel booking software enables hotels to be present in the
global marketplace in real time. Competition is extremely stiff
in the hospitality industry, and your guests have numerous
hospitality options when they are travelling – B&B’s, hostels,
hotels, boutiques, Airbnb and so on. To stay ahead of the
competition, you need to ensure that your hotels are as
visible as possible. The hotel booking software enables hotels
to not just maximise bookings via the hotel’s own website but
also be present in various online channels – OTA’s and GDS.
Also with the booking software, your hotel can manage all the
channels via one interface, therefore maintaining their room
inventory and rate parity uniformly across all channels via one
platform. This helps simplify operations for your reservations
team and also ensures that issues such as double or
overbooking are eliminated.

7|Page
OOP MICROPROJECT 926-930

3. Improves guest reservations –


Many OTA’s now promote their site by offering free
cancellations or changes in the booking up to a certain date. If
your hotel doesn’t have its own booking system and has to
deal with various vendors manually this can create a lot of
confusion in bookings and result in huge losses. An integrated
booking system allows information to be synced via all
systems, so any reservation that is cancelled or changed via
the OTA gets updated, in real time.

4. Increases multi-tasking –
With the booking system, a hotel with minimal staff can
effectively manage several tasks simultaneously. They can
manage group check ins, check out of other guests, confirm
reservations, and so on, all at the same time.

5. Centralizes hotel management –


The centralized approach of the booking system helps keep
everyone informed. Housekeeping can update rooms which
are ready for check in, the front desk can in turn inform which
rooms have been checked out, and tasks can be assigned
quickly and easily. This ensures complete transparency and
reduces the chances of any crucial information being lost due
to lack of communication.

8|Page
OOP MICROPROJECT 926-930

Objective:-

Hotel Management System is a Hotel Management System To


add to the misery, they are made to carry a long list of
Customer reports, Customer Bills, Room Details, Service
Details, Restaurant Information, Bar Information, Restaurant
bills and Bar bills and so on. The most affected are the less
educated majority and the poor who cannot maintain these
documents in a systematic fashion.

Existing System:

The existing Stores Management System consists of maintenance of


individual ledgers or excel sheets by both the manufacturer and the
dealer. The dealer will have to manually go through ledgers on a daily
basis to decide when it is time to place a new buy order.

9|Page
OOP MICROPROJECT 926-930

➢ Number & Description of Modules:

1. Multi-property management.
The cloud-based system allows an owner to access several
properties from one device and offers increased data security
and a high level of module integration, including those of
third parties.

2. Front desk operations.


This module connects reservation, housekeeping, spa,
activities, and guest relations management modules in a
single environment. Also, the front-office functionality
includes the Xpress Check-In Wireless module that allows
front-office managers to check the guests in and out via an
iPad and encode a room key on the spot. It also has a CRM
system functionality.

3. Back-office management.
This functionality of Maestro PMS is represented by several
modules: The Sales and Catering and the Workorder
management module for housekeeping management. The
Sales and Catering assists in sales and marketing as well as
event planning and management. It facilitates sales and helps
keep track of all aspects of event management, conference

10 | P a g e
OOP MICROPROJECT 926-930

planning, and scheduling. Workorder management module


schedules tasks and maintenance budgeting.

4. Revenue management.
Maestro PMS has the Analytics & Business Intelligence
datamining module for budgeting, forecasting, marketing,
and reporting.

5. Guest experience management.

Maestro PMS offers several modules, focused on providing an


outstanding guest experience (loyalty programs and
membership cards), as well as guest experience measurement
modules. For example, some membership programs reward
certain transactions through the PMS with points that can be
used on special services in a hotel. Earning points can be
based on criteria like money spent in the hotel or the number
of reservations a guest makes. Also, it allows guest preference
tracking, updating preferences in a guest profile.

6. IQware PMS
Another example of a PMS for big properties is the IQware
Property Management System. It is designed as a multi-
property management system for properties of all sizes. Its
functionality can be applied to resorts, condos, villas, vacation

11 | P a g e
OOP MICROPROJECT 926-930

rentals, campgrounds, marina-resorts, and extended stays.


Like Maestro PMS, this software focuses on guest experience
and offers group-booking opportunities, and a customizable
guest app that facilitates check-ins/outs. IQware PMS also has
The Package Management module for all-inclusive resorts or
business trips.
The main functionality of this system includes:

7. Revenue management.
The main difference from Maestro PMS is the management
of commissions for travel agencies, GDS, tour operators, hotel
staff, or sales office. The revenue management module of
IQware PMS has 5 levels of revenue control.

8. Reservation management.

PMS has group management in its reservation module, and


another special feature is the allotment module that blocks
the rooms for companies, airlines or tour operators, and
travel agents. Also, IQware PMS calculates travel agent
commissions automatically.

9. Channel management and billing.


Connection to GDS is possible with the IQlink Channel
Management Tool. The other optional modules of PMS are
Activity Booking, and Work Order Billing, which allows paying
for separate services in different properties.

12 | P a g e
OOP MICROPROJECT 926-930

Software Requirements:

1. Operating System : Windows XP/2003 or Higher Version of


windows Windows OS.
2. User Interface : Stitch, ordoro, lettuce, unleashed, etc.
3. Programming Language : c++.
4. IDE/Workbench : Net beans 7.2.
5. Database : MongoDB,CouchDB & Redis.

Hardware Requirements:

6. Processor : Pentium IV or above.


7. Hard Disk : 50GB or above.
8. RAM : 512 MB or more.

13 | P a g e
OOP MICROPROJECT 926-930

SOURCE CODES
#include<iostream>
#include<string.h>
#include<conio.h>

#define max 100


using namespace std;

//Class Customer
class Customer
{
public:
char name[100];
char address[100];
char phone[12];
char from_date[20];
char to_date[20];
float payment_advance;
int booking_id;
};

class Room
{
public:
char type;
char stype;
char ac;
int roomNumber;
int rent;
int status;

class Customer cust;


class Room addRoom(int);

14 | P a g e
OOP MICROPROJECT 926-930
void searchRoom(int);
void deleteRoom(int);
void displayRoom(Room);
};

//Global Declarations
class Room rooms[max];
int count=0;

Room Room::addRoom(int rno)


{
class Room room;
room.roomNumber=rno;
cout<<"\nType AC/Non-AC (A/N) : ";
cin>>room.ac;
cout<<"\nType Comfort (S/N) : ";
cin>>room.type;
cout<<"\nType Size (B/S) : ";
cin>>room.stype;
cout<<"\nDaily Rent : ";
cin>>room.rent;
room.status=0;

cout<<"\n Room Added Successfully!";


getch();
return room;
}

void Room::searchRoom(int rno)


{
int i,found=0;
for(i=0;i<count;i++)
{

15 | P a g e
OOP MICROPROJECT 926-930
if(rooms[i].roomNumber==rno)
{
found=1;
break;
}
}
if(found==1)
{
cout<<"Room Details\n";
if(rooms[i].status==1)
{
cout<<"\nRoom is Reserved";
}
else
{
cout<<"\nRoom is available";
}
displayRoom(rooms[i]);
getch();
}
else
{
cout<<"\nRoom not found";
getch();
}
}

void Room::displayRoom(Room tempRoom)


{
cout<<"\nRoom Number: \t"<<tempRoom.roomNumber;
cout<<"\nType AC/Non-AC (A/N) "<<tempRoom.ac;
cout<<"\nType Comfort (S/N) "<<tempRoom.type;
cout<<"\nType Size (B/S) "<<tempRoom.stype;
cout<<"\nRent: "<<tempRoom.rent;
}

16 | P a g e
OOP MICROPROJECT 926-930

//hotel management class


class HotelMgnt:protected Room
{
public:
void checkIn();
void getAvailRoom();
void searchCustomer(char *);
void checkOut(int);
void guestSummaryReport();
};

void HotelMgnt::guestSummaryReport(){

if(count==0){
cout<<"\n No Guest in Hotel !!";
}
for(int i=0;i<count;i++)
{
if(rooms[i].status==1)
{
cout<<"\n Customer First Name : "<<rooms[i].cust.name;
cout<<"\n Room Number : "<<rooms[i].roomNumber;
cout<<"\n Address (only city) : "<<rooms[i].cust.address;
cout<<"\n Phone : "<<rooms[i].cust.phone;
cout<<"\n---------------------------------------";
}

getch();
}

//hotel management reservation of room

17 | P a g e
OOP MICROPROJECT 926-930
void HotelMgnt::checkIn()
{
int i,found=0,rno;

class Room room;


cout<<"\nEnter Room number : ";
cin>>rno;
for(i=0;i<count;i++)
{
if(rooms[i].roomNumber==rno)
{
found=1;
break;
}
}
if(found==1)
{
if(rooms[i].status==1)
{
cout<<"\nRoom is already Booked";
getch();
return;
}

cout<<"\nEnter booking id: ";


cin>>rooms[i].cust.booking_id;

cout<<"\nEnter Customer Name (First Name): ";


cin>>rooms[i].cust.name;

cout<<"\nEnter Address (only city): ";


cin>>rooms[i].cust.address;

cout<<"\nEnter Phone: ";


cin>>rooms[i].cust.phone;

18 | P a g e
OOP MICROPROJECT 926-930

cout<<"\nEnter From Date: ";


cin>>rooms[i].cust.from_date;

cout<<"\nEnter to Date: ";


cin>>rooms[i].cust.to_date;

cout<<"\nEnter Advance Payment: ";


cin>>rooms[i].cust.payment_advance;

rooms[i].status=1;

cout<<"\n Customer Checked-in Successfully..";


getch();
}
}

//hotel management shows available rooms


void HotelMgnt::getAvailRoom()
{
int i,found=0;
for(i=0;i<count;i++)
{
if(rooms[i].status==0)
{
displayRoom(rooms[i]);
cout<<"\n\nPress enter for next room";
found=1;
getch();
}
}
if(found==0)
{

19 | P a g e
OOP MICROPROJECT 926-930
cout<<"\nAll rooms are reserved";
getch();
}
}

//hotel management shows all persons that have booked room


void HotelMgnt::searchCustomer(char *pname)
{
int i,found=0;
for(i=0;i<count;i++)
{
if(rooms[i].status==1 && stricmp(rooms[i].cust.name,pname)==0)
{
cout<<"\nCustomer Name: "<<rooms[i].cust.name;
cout<<"\nRoom Number: "<<rooms[i].roomNumber;

cout<<"\n\nPress enter for next record";


found=1;
getch();
}
}
if(found==0)
{
cout<<"\nPerson not found.";
getch();
}
}

//hotel managemt generates the bill of the expenses


void HotelMgnt::checkOut(int roomNum)
{
int i,found=0,days,rno;
float billAmount=0;

20 | P a g e
OOP MICROPROJECT 926-930
for(i=0;i<count;i++)
{
if(rooms[i].status==1 && rooms[i].roomNumber==roomNum)
{
//rno = rooms[i].roomNumber;
found=1;
//getch();
break;
}
}
if(found==1)
{
cout<<"\nEnter Number of Days:\t";
cin>>days;
billAmount=days * rooms[i].rent;

cout<<"\n\t######## CheckOut Details ########\n";


cout<<"\nCustomer Name : "<<rooms[i].cust.name;
cout<<"\nRoom Number : "<<rooms[i].roomNumber;
cout<<"\nAddress : "<<rooms[i].cust.address;
cout<<"\nPhone : "<<rooms[i].cust.phone;
cout<<"\nTotal Amount Due : "<<billAmount<<" /";
cout<<"\nAdvance Paid: "<<rooms[i].cust.payment_advance<<" /";
cout<<"\n*** Total Payable: "<<billAmount-rooms[i].cust.payment_advance<<"/ only";

rooms[i].status=0;
}
getch();
}

//managing rooms (adding and searching available rooms)


void manageRooms()
{
class Room room;

21 | P a g e
OOP MICROPROJECT 926-930
int opt,rno,i,flag=0;
char ch;
do
{
system("cls");
cout<<"\n### Manage Rooms ###";
cout<<"\n1. Add Room";
cout<<"\n2. Search Room";
cout<<"\n3. Back to Main Menu";
cout<<"\n\nEnter Option: ";
cin>>opt;

//switch statement
switch(opt)
{
case 1:
cout<<"\nEnter Room Number: ";
cin>>rno;
i=0;
for(i=0;i<count;i++)
{
if(rooms[i].roomNumber==rno)
{
flag=1;
}
}
if(flag==1)
{
cout<<"\nRoom Number is Present.\nPlease enter unique Number";
flag=0;
getch();
}
else
{

22 | P a g e
OOP MICROPROJECT 926-930
rooms[count]=room.addRoom(rno);
count++;
}
break;
case 2:
cout<<"\nEnter room number: ";
cin>>rno;
room.searchRoom(rno);
break;
case 3:
//nothing to do
break;
default:
cout<<"\nPlease Enter correct option";
break;
}
}while(opt!=3);
}
using namespace std;
int main()
{
class HotelMgnt hm;
int i,j,opt,rno;
char ch;
char pname[100];

system("cls");

do
{
system("cls");
cout<<"######## Hotel Management #########\n";
cout<<"\n1. Manage Rooms";
cout<<"\n2. Check-In Room";
cout<<"\n3. Available Rooms";

23 | P a g e
OOP MICROPROJECT 926-930
cout<<"\n4. Search Customer";
cout<<"\n5. Check-Out Room";
cout<<"\n6. Guest Summary Report";
cout<<"\n7. Exit";
cout<<"\n\nEnter Option: ";
cin>>opt;
switch(opt)
{
case 1:
manageRooms();
break;
case 2:
if(count==0)
{
cout<<"\nRooms data is not available.\nPlease add the rooms first.";
getch();
}
else
hm.checkIn();
break;
case 3:
if(count==0)
{
cout<<"\nRooms data is not available.\nPlease add the rooms first.";
getch();
}
else
hm.getAvailRoom();
break;
case 4:
if(count==0)
{
cout<<"\nRooms are not available.\nPlease add the rooms first.";
getch();
}

24 | P a g e
OOP MICROPROJECT 926-930
else
{
cout<<"Enter Customer Name: ";
cin>>pname;
hm.searchCustomer(pname);
}
break;
case 5:
if(count==0)
{
cout<<"\nRooms are not available.\nPlease add the rooms first.";
getch();
}
else
{
cout<<"Enter Room Number : ";
cin>>rno;
hm.checkOut(rno);
}
break;
case 6:
hm.guestSummaryReport();
break;
case 7:
cout<<"\nTHANK YOU! FOR USING SOFTWARE";
break;
default:
cout<<"\nPlease Enter correct option";
break;
}
}while(opt!=7);

getch();
}

25 | P a g e
OOP MICROPROJECT 926-930

OUTPUT:

26 | P a g e
OOP MICROPROJECT 926-930

Conclusion.

It can be observed that computer applications are very important in every field of
human endeavor. Here all the information about books can be gotten just by
clicking a button with this new system, some of the difficulties encountered
with the manual system are overcome. It will also reduce the workload of the
staff, reduce the time used for searching books at the stores and also increase
efficiency. The application also has the ability to update records in various files
automatically thereby relieving the company’s staff the stress of working from
file security of data.

27 | P a g e
OOP MICROPROJECT 926-930

REFERENCES.

• Object Oriented Programming. By-harish.G.Narula.

• www.Google.com

• www.wikipedia.com

28 | P a g e

You might also like