You are on page 1of 8

PROBLEM BASED LEARNING (17PD01)

AIRLINE RESERVATION SYSTEM


Report Submitted

in partial fulfillment of the requirements for the award of the Degree of

BACHELOR OF TECHNOLOGY
In
COMPUTER SCIENCE & ENGINEERING
By
CHODABOINA JAGADEESH 19761A0514

Under the guidance of


B. SIVA RAMA KRISHNA
Asst. professor

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


LAKIREDDY BALIREDDY COLLEGE OF ENGINEERING (AUTONOMOUS)
Accredited by NAAC & NBA (Under Tier I) and ISO 9001:2015 Certified Institution
Approved by AICTE, New Delhi & Affiliated to JNTUK, Kakinada
L.B.Reddy Nagar, Mylavaram, Krishna Dt, A.P-521230
2020-2021

LBRCE, Department of CSE Page |1


LAKIREDDY BALIREDDY COLLEGE OF ENGINEERING (AUTONOMOUS)
Accredited by NAAC & NBA (Under Tier I) and ISO 9001:2015 Certified Institution
Approved by AICTE, New Delhi & Affiliated to JNTUK, Kakinada
L.B.Reddy Nagar, Mylavaram, Krishna Dt, A.P-521230
Department Of
COMPUTER SCIENCE & ENGINEERING

CERTIFICATE

This is to certify that a report entitled “AIRLINE RESERVATION SYSTEM “for Problem Based
Learning (PBL) is being submitted by CHODABOINA JAGADEESH , 19761A0514 in partial
fulfillment of the requirements for the award of degree of B.Tech in Computer Science &
Engineering from Jawaharlal Nehru Technological University Kakinada is a record of bonafide
work carried out by them at Lakireddy Bali Reddy College of Engineering.

GUIDE HEAD OF THE DEPARTMENT


B.SIVA RAMA KRISHNA Dr. D. Veeraiah
Asst. Prof Professor

LBRCE, Department of CSE Page |2


DECLARATION

I here by declaring that the report entitled Airline Reservation System for Problem Assisted
Learning (PAL) work done by me. I certify that the work contained in the report is original and
has been done by me under the guidance of supervisor. The work has not been submitted to any
other institute in preparing for any degree or diploma. I have followed the guidelines provided by
the institute in preparing the report. I have conformed to the norms and guidelines given in the
ethical code of conduct of the institute. Whenever I have used materials (data, theoretical
analysis, figures, and text) from other sources, I have given due credit to them by citing them in
the text of the report and giving their details in the references. Further, I have taken permission
from the copyright’s owner of the sources, whenever necessary.

Signature of the student


CHODABOINA JAGADEESH
19761A0514

LBRCE, Department of CSE Page |3


ABSTRACT
Airline reservation System is a computerized system used to store and retrieve information and
conduct transactions that related to air travel. The project is aimed at exposing them to relevance
and importance of Airline Reservation Systems. It is projected towards enhancing the relation-
ship between the customers and airline agencies using ARSs, and thereby making it convenient
for the customers to book the flights as when they require such that they can utilize this software
to make reservations. The main purpose of this software is to reduce the manual errors involved
in the airline reservation process and make it convenient for the customers to book the flights as
when they require such that they can utilize this software to make reservations, modify reserva-
tions or cancel a particular reservation.

LBRCE, Department of CSE Page |4


1.Introduction
Talking about the features of this Simple system, the user has to select the seat class whether to
choose Business or Economy class. Then the system displays available seats, and the user has to
enter that particular seat number in order to preserve it. After reserving a seat, that particular seat
won’t be available anymore for other users. Airline reservation systems include passenger
reservations, airline schedules, and ticket records. An airline’s direct distribution works within
their reservation system, as well as pushing out information to the GDS. The second type of
direct distribution channel are consumers who use the internet or mobile applications to make
their reservations Airline reservation systems include passenger reservations, airline schedules,
and ticket records. An airline’s direct distribution works within their reservation system, as well
as pushing out information to the GDS. The second type of direct distribution channel is
consumers who use the internet or mobile applications to make their reservations. Simple Airline
Seat Reservation System is based on the concept of reserving airline seats for the passengers.
There’s no login system available for this system, the user can freely use its feature. This mini
project contains limited features, but the essential one. Make sure that you have code editor for
the C programming language. So, after that, open the project in the code editor and first build the
project. After that, run the project.

2.Problem Statement
*Reservation of airline ticket according to the requirement of the passenger and also selecting
required seat

LBRCE, Department of CSE Page |5


3. Source Code
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
int main(void)
{
int c,p;
int i;
int j;
int s[10]={};
char from[50],to[50];
printf("**Welcome to Simple Airline Seat Reservations System**\n\n");
printf("Enter the name of place where he/she started journey\n");
scanf("%s",from);
printf("Enter the name of the place where passenger wants to reach\n");
scanf("%s",to);

for (j=0; j<10; j++)


{
printf("Choose 1 for First Class and 2 for Economic class\n");
scanf("%d", &c)
switch(c)
{
case 1:
printf("\nFirst class\n");
printf("Seats available are 1,2,3,4,5.\n");
do
{
printf("Pick a seat:\n\n");
scanf("%d",&p);
s[j]=p;

}
while (i!=j);
{
if(s[j] <= 5)
{
printf("\n");
printf("--------------------------\n");
printf("from : %s\t to : %s\n",from,to);
printf("Class: First class\n");
printf("Seat no : %i\n",s[j]);
printf("charges=15000\n");
printf("--------------------------\n\n");

LBRCE, Department of CSE Page |6


}
else
{
printf("\nWrong number! No seat for you!\n\n");
break;
}
}
case 2:
printf("\nEconomical class\n");
printf("Seats available are 6,7,8,9,10.\n");
do
{
printf("Pick a seat:\n\n");
scanf("%i",&p);
s[j]=p;
}

while (i!=j);
{
if(s[j] >= 6)
{
printf("\n");
printf("--------------------------\n");
printf("from : %s\t to : %s\n",from,to ");
printf("Class: Economical class\n");
printf("Seat no : %i\n",s[j]);
printf("charges=12000\n");
printf("--------------------------\n\n");

}
else
{
printf("\nWrong number! No seat for you!\n\n");
break;
default:
break;
}
}
return 0;
}

LBRCE, Department of CSE Page |7


4. Results
Input

Output

5.Conclusion
This program makes user to get ticket with cost based on the requirement of the passenger and
also selecting required seat and travelling places. This program deals with three operations of
collecting data from passenger, printing ticket based on the information given by the passenger
such as type of class and the seat number.

6. References
[ 1 ]www.geeksforgeeks.org
[ 2 ]www.pantechsolutions.net
[ 3 ]www.murtazahassan.com

LBRCE, Department of CSE Page |8

You might also like