Air Pacific Limited, Fiji's international airline, operates international and domestic services around the Pacific and to North America and Hong Kong. It has its head office at the Air Pacific Maintenance & Administration Centre in Nadi. You are required to write a program that passengers can use to chose seats for aircraft FJ501. The aircraft has 13 rows with 5 seats in each row. Rows 1 to 4 are first class, the remaining rows are economy class. The program should display the seating plan for the aircraft. Empty seats are shown with x and the seats that are booked will have the passenger name (first name plus initials of other names) on it. To reserve a seat, they have to provide their ticket type (First Class or Economy Class), the seat they prefer and their name (first name plus initials of other names). The program verifies that the seat is empty then only bookings are done. Passengers are also allowed to check the seats they are booked for by providing the passenger name (first name plus initials of other names) used for booking the seat Your program must prompt the user to the following menu: FJ501 Seat Reservation 1. Display Aircraft Seating Plan 2. Reserve a seat 3. Retrieve seat information 4. Quit Please enter you choice:

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Air Pacific Limited, Fiji's international airline, operates international and domestic
services around the Pacific and to North America and Hong Kong. It has its head office at
the Air Pacific Maintenance & Administration Centre in Nadi.
You are required to write a program that passengers can use to chose seats for aircraft
FJ501. The aircraft has 13 rows with 5 seats in each row. Rows 1 to 4 are first class, the
remaining rows are economy class.
The program should display the seating plan for the aircraft. Empty seats are shown with
x and the seats that are booked will have the passenger name (first name plus initials of
other names) on it. To reserve a seat, they have to provide their ticket type (First Class or
Economy Class), the seat they prefer and their name (first name plus initials of other
names). The program verifies that the seat is empty then only bookings are done.
Passengers are also allowed to check the seats they are booked for by providing the
passenger name (first name plus initials of other names) used for booking the seat
Your program must prompt the user to the following menu:
FJ501 Seat Reservation
1. Display Aircraft Seating Plan
2. Reserve a seat
3. Retrieve seat information
4. Quit
Please enter you choice:
Transcribed Image Text:Air Pacific Limited, Fiji's international airline, operates international and domestic services around the Pacific and to North America and Hong Kong. It has its head office at the Air Pacific Maintenance & Administration Centre in Nadi. You are required to write a program that passengers can use to chose seats for aircraft FJ501. The aircraft has 13 rows with 5 seats in each row. Rows 1 to 4 are first class, the remaining rows are economy class. The program should display the seating plan for the aircraft. Empty seats are shown with x and the seats that are booked will have the passenger name (first name plus initials of other names) on it. To reserve a seat, they have to provide their ticket type (First Class or Economy Class), the seat they prefer and their name (first name plus initials of other names). The program verifies that the seat is empty then only bookings are done. Passengers are also allowed to check the seats they are booked for by providing the passenger name (first name plus initials of other names) used for booking the seat Your program must prompt the user to the following menu: FJ501 Seat Reservation 1. Display Aircraft Seating Plan 2. Reserve a seat 3. Retrieve seat information 4. Quit Please enter you choice:
Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY