0% found this document useful (0 votes)
46 views21 pages

OOP Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views21 pages

OOP Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

A Micro - Project Report

On
“AIRLINE RESERVATION SYSTEM”
Submitted on “11-10-2023”
By
1. SHAIKH UMAR
2. SHAIKH HASSAN
3.SHEHNEEL PAWASKAR
4. KHAN NOMAN
Under Guidance of
“Alfiya Sayyed Mam”
In
Three Years Diploma Program in Engineering &Technology of
Maharashtra State Board of TechnicalEducation, Mumbai (Autonomous)
Technical
ISO9001:2015

At
Ajuman - Islam’s Abdul Razzaq Kalsekar Polytechnic
Academic Year [ 2023 -2024]
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI

Certificate
This is to certify that Mr. /Ms./Mrs.

Enrollment No: of Semester of Diploma in Computer


Engineering at Anjuman I Islam’s Abdul Razzak Kalsekar Polytechnic,
has completed the Micro Project satisfactorily in Subject
in the academic year 20 - 20 as per the MSBTE prescribed curriculum of
I Scheme.

Place: Enrollment No:

Date: / /2022 Exam Seat No:

Project Guide Head of the Department Principal

Head of
Institute
INDEX
?
ABSTRACT

The main objective of the code is to provide the facility to the user to book tickets for the limited
destination. The program begins with a menu-driven interface in the main function, allowing users
to choose from options like booking a flight, accessing contact details, learning about the company,
or exiting the program.

• Booking a Flight: When the user selects this option, they can choose from a list of
destinations, enter the number of passengers, and input passenger details, including names,
passport numbers, and phone numbers. The program calculates the total fare, including tax,
and simulates a payment process (assuming success). It then displays the flight details,
passenger information, and payment confirmation.

• Displaying Contact Details: Selecting this option provides users with contact information
for Quantum Airways, including phone numbers and an email address.

• Displaying Company Info: This choice offers a brief overview of Quantum Airways'
history, fleet, services, and global network.

• Exiting the Program: Users can exit the program when they are done with their tasks.
Annexure – I

Micro-Project Proposal

Title of Micro-Project

1.0 Aims/Benefits of the Micro-Project:


………………………………………………………………………………………………
………………………………………………………………………………………………
2.0 Course Outcomes Addressed:
a) ……………………………………..
b) ……………………………………..
c) ……………………………………..
d) ……………………………………..
3.0 Proposed Methodology (Brief description about procedure to be used in project)
………………………………………………………………………………………………
………………………………………………………………………………………………
4.0 Action Plan
Sr Details of Activity Planned Planned Name of the
No. Start Date Finish Date Responsible Team
Members

5.0 Resources Required


Sr Name of Specifications Qty. Remarks
No. Resources/Material

Names of Team Members with Enrollment No.:


1. ………………………………………………………………
2. ………………………………………………………………
3. ………………………………………………………………
4. ………………………………………………………………
Annexure – I I

Micro-Project Proposal

Title of Micro-Project

1.0 Rationale (Importance of project):


………………………………………………………………………………………………
………………………………………………………………………………………………
2.0 Aims/Benefits of the Micro-Project:
………………………………………………………………………………………………
………………………………………………………………………………………………
3.0 Course Outcomes Addressed:
a) ……………………………………..
b) ……………………………………..
c) ……………………………………..
d) ……………………………………..
4.0 Literature Review
………………………………………………………………………………………………
………………………………………………………………………………………………
5.0 Actual Method Followed (Step wise execution)
………………………………………………………………………………………………
………………………………………………………………………………………………
6.0 Actual Resources Used:
Sr Name of Specifications Qty. Remarks
No. Resources/Material

Skill Developed:
………………………………………………………………………………………………
………………………………………………………………………………………………
Application:
………………………………………
………………………………………
Names of Team Members with Enrollment No.:
1. ………………………………………………………………
2. ………………………………………………………………
3. ………………………………………………………………
4. ………………………………………………………………
INTRODUCTION

The C++ code represents a simple application for booking flights with a
fictional

airline called "Quantum Airways". User can book a ticket for their perspective
by

giving the details like "destination name", "passport number", "phone number",
etc;

Passengers can also view the history of the Quantum Airways, contact details
and the email for their better contact with us

We will provide the destination to the passengers. They can select according to
there travel place. In this airline

we have limited destinations. Passengers will get the payment option via credit
card. The will get the fare according to there destination with excluding and including
tax . If they pay the fare amount the confirmation message will pop up.
HARDWARE AND SOFTWARE REQUIREMENTS

Hardware Requirements:

• Operating System: MS DOS, MS Windows 3.1 or Later


• Ram: 4 GB
• Processor: 1.8 GHz or Above
• Storage: 64GB

Software Requirement:

• Software: Turbo C++


Algorithm:

• STEP 1: Start

• STEP 2: The first option of the menu is to book the flight.

• STEP 3: If the user selects it, the upcoming procedure executed.

• STEP 4: The second option of the menu is to get the contact details of our company.

• STEP 5: If the user selects it, the details of our contact and gmail appears.

• STEP 6: The third option of the menu is to get the information of our airline.

• STEP 7: If the user selects is the information section occurs.

• STEP 8: The fourth option is to get outside the console screen “EXIT”.

• STEP 9: End
FLOWCHART:
SOURCE CODE
INPUT:

#include <iostream.h>

#include <conio.h>

class Passenger {

public:

char firstName[50];

char lastName[50];

char passportNumber[50];

char phoneNumber[50];

};

void displayContactDetails() {

clrscr();

cout << "Contact details\n";

cout << "Call us for Reservations\n";

cout << "+971 123 123 3333\n";

cout << "+971 444 666 9890\n";

cout << "Email us at:\n";

cout << "[email protected]\n";

getch();

void displayCompanyInfo() {

clrscr();

cout << "Our Story\n";

cout << "The story of Quantum Airways started in 2015 when we launched operations with
just one\n";

cout << "aircraft. Today we fly the world's biggest fleets of airbus DLA380s, offering\n";

cout << "customers the comforts of the latest and most efficient wide-body aircrafts\n";
cout << "in the skies. We inspire travelers around the globe with our growing network\n";

cout << "of worldwide destinations, industry-leading in-flight entertainment, regionally\n";

cout << "inspired cuisine, and world-class service.\n";

getch();

void bookFlight() {

clrscr();

cout << "Available Destinations\n";

cout << "1) Delhi 2) Qatar 3) Bangalore\n";

cout << "4) Cochin 5) New York 6) Canada\n";

cout << "7) Australia 8) Bangkok 9) Thailand\n";

int choice;

cout << "Choose a Destination (Enter The Number Assigned to Your Destination)\n";

cin >> choice;

char destinations[][50] = {

"", "Delhi", "Qatar", "Bangalore", "Cochin",

"New York", "Canada", "Australia", "Bangkok", "Thailand"

};

double fares[] = {0, 500, 8000, 2200, 1200, 11200, 10200, 8500, 2500, 9500};

int n;

cout << "Enter the Number of Passengers\n";

cin >> n;

Passenger* passengers = new Passenger[n];

for (int i = 0; i < n; ++i) {

clrscr();

cout << "Passenger " << i + 1 << endl;

cout << "Enter your Details\n";

cout << "First Name: ";


cin >> passengers[i].firstName;

cout << "Last Name: ";

cin >> passengers[i].lastName;

cout << "Passport Number: ";

cin >> passengers[i].passportNumber;

cout << "Phone Number: ";

cin >> passengers[i].phoneNumber;

double totalFare = n * fares[choice] * 1.18;

clrscr();

cout << "You have Successfully submitted the Passenger details\n";

cout << "Here is Your Flight Details\n";

cout << "Destination: " << destinations[choice] << " ; Fare: Per Person " << fares[choice] << "
Dhs (excluding tax)\n";

cout << "Passengers Detail's\n";

for ( i = 0; i < n; ++i) {

cout << "Passenger " << i + 1 << endl;

cout << "Name: " << passengers[i].firstName << " " << passengers[i].lastName << endl;

cout << "Passport Number: " << passengers[i].passportNumber << endl;

cout << "Phone Number: " << passengers[i].phoneNumber << endl;

cout << "Total Fare (Including Tax): " << totalFare << endl;

// Simulate payment processing

cout << "Please enter your credit card number for payment: ";

char creditCardNumber[50];

cin >> creditCardNumber;

// Assuming payment is successful


clrscr();

cout << "Payment successful! Your ticket has been confirmed.\n";

delete[] passengers;

getch();

int main() {

int choice;

do {

clrscr();

cout << "---Welcome To Quantum Airways---\n";

cout << "--The Joy of Flying--\n";

cout << "Press 1 To Book a Flight\n";

cout << "Press 2 To Get our Contact Details\n";

cout << "Press 3 To Know About Us\n";

cout << "Press 4 To Exit\n";

cin >> choice;

switch (choice) {

case 1:

bookFlight();

break;

case 2:

displayContactDetails();

break;

case 3:

displayCompanyInfo();

break;

case 4:

cout << "*** Press Enter to Confirm ***\n";


break;

default:

cout << "*** INVALID CHOICE ***\n";

} while (choice != 4);

return 0;

}
OUTPUT:
APPLICATION

First we will get the menu option for booking the ticket, airway information, airway history and
then the exit.

Then user will select the first option which is “Book a flight”. Then user will get destination to
select. After selecting the destination, it ask for how many passenger ticket user have to book.

Then it ask for First name, Last name, Passport number and the phone number.

After entering the details user will get the fare of number of passenger ticket hi have booked. He
will get the total fare of the ticket with get include. Then it will ask for credit card number to do the
payment. After the payment is success user will receive a message payment successful.

By selecting the second option, user can get the contact number and email of the airline.

When user select the third option it can see the history of the airline.

And option 4 exit the system.


CONCLUSION

In the program user can book the ticket of how much passenger ticket he has to booked. It also give
the option to see the history of the “QUANTUM AIRWAYS” and also get the contact & email of
the QUANTUM AIRWAYS.
REFERENCE

BY THE HELP OF UMAR. 😊


Evaluation Sheet for Micro Project

Academic Year: Name of Faculty:

Course: Course Code: Semester:

Title of the Project: …………………………………………………………………………....

COs Addressed by the Micro Project:

1. ……………………………………………… 2.
………………………………………………
3. ………………………………………………

Major Learning Outcomes achieved by the students during this Project:

(a) Practical Outcome: ……………………………………………………………………


…………………………………………………………………………………………..
..........................................................................................................................................
(b) Unit Outcomes in Cognitive Domain: ………….........................................................
………………………………………………………………………………………….
…………………………………………………………………………………………..
(c) Questions in effective Domain: ………………………………………………………
…………………………………………………………………………………………..
…………………………………………………………………………………………..

Comments/Suggestions about team work/leadership/inter-personal communication (if any)

…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………

Marks out of 6 Marks out of 4 for


Enrollment Total out
Students Name for performance performance in
No. of 10
of group activity oral/ presentation

(Name and Signature of the Faculty)

You might also like