Develop a seat reservation and management system for a small airline CUA, this airline has only one aeroplane and fly from Lahore to Karachi and back from Karachi to Lahore every day. This system should have the following functionalities. 1. The program should display a menu at the start of the program with following options: a. Seat Pattern b. Seat Reservation c. Seat Cancellation d. Available Seats e. Reserved seats f. Search Reservation g. Exit 2. Create a seat pattern for a small aeroplane with seat numberings as follows: 1 A в с D 2 A в D 3 A В D 4 A B C 5 A B D 6 A B D 7 A В D 8 A B D 9 A B C D 10 A B C D

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question

In Java 

Develop a seat reservation and management system for a small airline CUA, this airline has
only one aeroplane and fly from Lahore to Karachi and back from Karachi to Lahore every
day. This system should have the following functionalities.
1. The program should display a menu at the start of the program with following options:
a. Seat Pattern
b. Seat Reservation
c. Seat Cancellation
d. Available Seats
e. Reserved seats
f. Search Reservation
g. Exit
2. Create a seat pattern for a small aeroplane with seat numberings as follows:
1 A
в с
D
2 A
B
C D
3 А В с D
4 A
в
C
D
5
A
В
C
D
6 A
B
C
D
7
A
B
C
D
8
A
B
C
D
9 A
B
C
D
10 A В с D
Transcribed Image Text:Develop a seat reservation and management system for a small airline CUA, this airline has only one aeroplane and fly from Lahore to Karachi and back from Karachi to Lahore every day. This system should have the following functionalities. 1. The program should display a menu at the start of the program with following options: a. Seat Pattern b. Seat Reservation c. Seat Cancellation d. Available Seats e. Reserved seats f. Search Reservation g. Exit 2. Create a seat pattern for a small aeroplane with seat numberings as follows: 1 A в с D 2 A B C D 3 А В с D 4 A в C D 5 A В C D 6 A B C D 7 A B C D 8 A B C D 9 A B C D 10 A В с D
3. The program should display the seat pattern, with an 'X' marking the seats already
assigned. For example, after reservation of seat 1A the display should look like as
following:
1
X
в с
D
2
A
B
C
D
A
B
C
D
4
A
B
C
D
A
B
C
D
6 A B
C
D
7
A
B
C
D
8
A
В
C
D
9 A
B
C
D
10 A
B
C
D
Note: All information has to be stored in files.
3.
Transcribed Image Text:3. The program should display the seat pattern, with an 'X' marking the seats already assigned. For example, after reservation of seat 1A the display should look like as following: 1 X в с D 2 A B C D A B C D 4 A B C D A B C D 6 A B C D 7 A B C D 8 A В C D 9 A B C D 10 A B C D Note: All information has to be stored in files. 3.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education