Koneru Lakshmaiah Education Foundation
(Deemed to be University)
FRESHMAN ENGINEERING DEPARTMENT
A Project Based Lab Report
On
HOTEL MANAGEMENT SYSTEM
SUBMITTED BY:
I.D NUMBER NAME
2200030156 G. OM SAI VARSHITH
2200030208 A.A.N.V.R. KISHAN
2200030381 A. UJWALA
2200030386 CH. PUJITHA
UNDER THE GUIDANCE OF
Dr. N. ALANGUDI BALAJI
PROFESSOR
KL UNIVERSITY
Green fields, Vaddeswaram – 522 302
Guntur Dt., AP, India.
DEPARTMENT OF BASIC ENGINEERING SCIENCES-1
CERTIFICATE
This is to certify that the project-based laboratory report entitled
“HOTEL MANAGEMENT SYSTEM ” submitted by G. Om Sai Varshith, A.A.N.V.R.
KISHAN, [Link], CH. PUJITHA bearing Regd. No. 2200030156, 2200030208,
2200030381, 2200030386 to the Department of Basic Engineering Sciences, KL
University in partial fulfilment of the requirements for the completion of a project
based Laboratory in “COMPUTATIONAL THINKING FOR STRUCTURE DESIGN” course
in I B. Tech I Semester, is a BonafIde record of the work carried out by him/her under
my supervision during the academic year 2022 – 2023.
PROJECT SUPERVISOR HEAD OF THE DEPARTMENT
Dr. N. ALANGUDI BALAJI Dr. D. Haritha
ACKNOWLEDGEMENT
It is great pleasure for me to express my gratitude to our honorable
President, Sri. Koneru Satyanarayana, for giving the opportunity and platform
with facilities in accomplishing the project based laboratory report.
I express the sincere gratitude to our principal Dr. A. Jagadeesh for his
administration towards our academic growth.
I express sincere gratitude to HOD-BES-, Dr. D. Haritha, for her
leadership and constant motivation provided in successful completion of our
academic semester. I record it as my privilege to deeply thank for providing us
the efficient faculty and facilities to make our ideas into reality.
I express my sincere thanks to our project supervisor, DR. N. ALANGUDI
BALAJI, for his novel association of ideas, encouragement, appreciation and
intellectual zeal which motivated us to venture this project successfully.
Finally, it is pleased to acknowledge the indebtedness to all those who
devoted themselves directly or indirectly to make this project report success.
Name: Regd No :
2200030156 [Link] SAI VARSHITH
2200030208 A.A.N.V.R. KISHAN
2200030381 A. UJWALA
2200030386 CH. PUJITHA
ABSTRACT
The Project HOTEL MANAGEMENT SYSTEM is a web based application that allows
the hotel manager to handle all hotel activities online.
Interactive GUI and the ability to manage various hotel bookings and rooms make
this system very flexible and convenient. The hotel manager is a very busy person and
does not have the time to sit and manage the entire activities manually on paper. This
application gives him the power and flexibility to manage the entire system from a
single online system.
Hotel Management project provides room booking, staff management and other
necessary hotel management features. The system allows the manager to post available
rooms in the system. Customers can view and book room online. Admin has the power
of either approving or disapproving the customer's booking request.
Other hotel services can also be viewed by the customers and can book them too. The
system is hence useful for both customers and managers to portably manage the hotel
activities.
INDEX
[Link] TITLE PAGE NO
1 Introduction 6
2 Aim of the Project 7
2.1 Advantages & Disadvantages 7
2.2 Future Implementation 7
3 Software & Hardware Details 8
4 Algorithm 9
5 Flowchart 10
6 Implementation 11
7 Results and Screenshots 16
8 Conclusion 18
INTRODUCTION
The main purpose of a hotel is to provide shelter for people by giving it for rent.
The project Application on Hotel management is to develop a C program which enables
the customer of a hotel to know about the hotel and book a room and also allows him to
go through restaurant menu and order food online. And in this project the hotel is a 7-
stored 5-star hotel which has 10rooms in each floor with high end ambience and luxury
hotel with many facilities like bar room, swimming pool, Food buffet, Gym etc. The room
numbers in this hotel are (Floor number)01 to (Floor number)10. In this program the
customer can enter his details and his details will be stored in a txt file
AIM
Develop an application for hotel management system with the following modules using structures,
pointers to structure variables, passing structure pointers to function.
1. Get availability
2. Features of room
3. Room allocation
4. Show customer details
5. Room deallocation
6. Restaurant
7. Billing
SYSTEM REQUIREMENTS
Advantages:
Let’s customer do everything from online without physical effort. Things made easier
Disadvantages:
The online booking may create unemployment for thepeople
who work at the hotel
It may be difficult for the people who do not know the operations related to computers
The establishment in remote places might become difficult.
Future enhancements:
We plan to develop a system which is easily accessible to people from all age groups
along with which we try to include the snack ordering system, so that people don’t need
to run behind the snack booths during the intermission. Also we will try to provide
discount coupons to encourage more and more people to use this system of ticket
booking
SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language : Turbo-C
Operating system:Windows Xp or later.
HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as follows:
RAM :8 GB
Processor :i5
ALGORITHM
Step 1: Start
Step 2: Read choice(k).
1. Availability of rooms.
2. Features available in hotel.
3. Book a room.
4. Checkout.
5. Restaurant menu.
Step 3: If(k==1)
Availability();
Else if(k==2)
Features();
Else if(k==3)
select();
Else if(k==4)
Checkout();
Else if(k==5)
Restaurant();
Else
Print(Invalid input)
Step 4: Stop.
FLOW CHART
IMPLEMENTATION
#include <stdio.h>
#include<stdlib.h>
#include<strings.h>
int stack[100],top,size,choice,i,num;
int main()
void push();
void pop();
void traverse();
top =0;
printf("ENTER THE SIZE OF STACK:");
scanf("%d",&size);
i=0;
while(choice != 4)
printf("n***MENU***\n");
printf("[Link]:\n");
printf("[Link]:\n");
printf("[Link]:\n");
printf("[Link]:\n");
printf("ENTER YOUR CHOICE:");
scanf("%d",&choice);
i++ ;
switch(choice)
{
case 1:
push(stack,top,size);
break;
case 2:
pop(stack,top);
break;
case 3:
traverse();
break;
case 4:
exit(0);
default:
for(i=0;i<35;i++)
printf("_");printf("\n\\n");
printf("WRONG CHOICE:\n");
for(i=0;i<35;i++)
printf("_");printf("\n\\n");
return 0;
void push()
int i,num;
printf("ENTER THE NUMBER TO PUSH:");
scanf("%d",&num);
if(top == size)
for(i=0;i<35;i++)
printf("_");printf("\n\n");
printf("STACK IS FULL!\n");
for(i=0;i<35;i++)
printf("_");printf("\n\n");
else
top++; stack[top] = num;
void pop()
int i,num;
printf("ENTER THE NUMBER TO POP:");
scanf("%d",&num);
if(top == 0)
for(i=0;i<35;i++)
printf("_");printf("\n\n");
printf("STACK IS EMPTY:\n");
for(i=0;i<35;i++)
printf("_");printf("\n\n");
else
{
num= stack[top];
top--;
void traverse()
int i;
if (top==0)
for(i=0;i<35;i++)
printf("_");printf("\n\n");
printf("STACK IS EMPTY:\n");
for(i=0;i<35;i++)
printf("_");printf("\n\n");
else
for(i=0;i<35;i++)
printf("_");printf("\n\n");
printf("Stack Display\n");
for(i=1;i<=top;i++)
if(i==top)
printf("%d at %d -> top\n",stack[i],i);
for(i=0;i<35;i++)
printf("_");printf("\n\n");
}
else
printf("%d at %d\n",stack[i],i);
for(i=0;i<35;i++)
printf("_");printf("\n\n");
}
RESULTS AND SCREENSHOTS
FIG 1:ENTER THE CHOICE AND
ENTER THE NUMBER TO PUSH AND
ENTER THE NUMBER TO POP.
FIG 2:ENTER THE CHOICE AND
ENTER DISPLAY AND
ENTER THE CHOICE AND
ENTER OUIT.
CONCLUSION
Thus, in this article, we have understood the concept of Stack data
structure and its implementation using Arrays in C.