You are to develop a C++ code for an airline’s online ticket booking system. The code should be user-friendly to allow the customer to easily initiate a new booking, view his existing booking, or cancel it. On the other hand, the code also allows the airline managers to add or update information on available flights, and perform other clerical tasks (like checking the number of bookings, passenger information, etc.). For simplicity, the code does not need to implement the functionality of a payment (just entering the PAY string is enough). The problem is very open- ended, meaning you can use any of the concepts learnt in the course to implement different additional functionalities to your code (and earn bonus points!). Use concepts like class inheritance, friend classes, constructors, private data, arrays, etc to add better structure to your code. For example, your definitions of Manager and Customer class can inherit from a Person class. The code should fulfill the following functionalities:  Have 2 different levels of authentications; Manager and Customer.  Both Manager and Customer should have the following attributes: name, user id, and password.  Details of all registered users should be saved in a Users text file.  All “text files” can be implemented as text files of mentioned names. Manager: o Manager can sign in and logout only. No sign up required for managers (these users should already exist in the users list). A sample manager’s name can be “Umar Khan” and the password is “UM1234” o New flights are added to the Flights database by the Managers. The flight information should contain enough attributes to distinctly identify it. o A manager can access information about all flights listed in the system. Customer: o Needs to sign up with a username and password. o Uses the credentials saved at sign up to log in and start a new session. o The session starts with the display of the customer console view, where he can view existing bookings, cancel a booking, or make a new booking. o A new booking is made on the available list of flights. Seats can be booked for multiple passengers in a single booking. All details on a new booking should be saved in the Booking file. o Customer should be able to cancel an existing booking from his console view.  Make additional classes, as you deem necessary, to facilitate a proper functioning of the ticket reservation software.  Additional points will be awarded to more interactive console screen designs.

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

You are to develop a C++ code for an airline’s online ticket booking system. The code
should be user-friendly to allow the customer to easily initiate a new booking, view his existing
booking, or cancel it. On the other hand, the code also allows the airline managers to add or
update information on available flights, and perform other clerical tasks (like checking the
number of bookings, passenger information, etc.). For simplicity, the code does not need to
implement the functionality of a payment (just entering the PAY string is enough).
The problem is very open- ended, meaning you can use any of the concepts learnt in the course
to implement different additional functionalities to your code (and earn bonus points!).
Use concepts like class inheritance, friend classes, constructors, private data, arrays, etc to add
better structure to your code. For example, your definitions of Manager and Customer class can
inherit from a Person class.
The code should fulfill the following functionalities:
 Have 2 different levels of authentications; Manager and Customer.
 Both Manager and Customer should have the following attributes: name, user id,
and password.
 Details of all registered users should be saved in a Users text file.
 All “text files” can be implemented as text files of mentioned names.
Manager:
o Manager can sign in and logout only. No sign up required for managers (these
users should already exist in the users list).
A sample manager’s name can be “Umar Khan” and the password is “UM1234”
o New flights are added to the Flights database by the Managers. The
flight information should contain enough attributes to distinctly identify
it.
o A manager can access information about all flights listed in the system.

Customer:
o Needs to sign up with a username and password.
o Uses the credentials saved at sign up to log in and start a new session.
o The session starts with the display of the customer console view, where he can view
existing bookings, cancel a booking, or make a new booking.
o A new booking is made on the available list of flights. Seats can be booked for
multiple passengers in a single booking. All details on a new booking should be
saved in the Booking file.
o Customer should be able to cancel an existing booking from his console view.
 Make additional classes, as you deem necessary, to facilitate a proper functioning of
the ticket reservation software.
 Additional points will be awarded to more interactive console screen designs.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 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