Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need this to be solved by file handling and this code is not on the internet so kindly dont post the wronh code. You are

Need this to be solved by file handling and this code is not on the internet so kindly dont post the wronh code.
image text in transcribed
You are to develop a C++ code for an airlines online ticket booking system. The code should be user-friendly to allow the customer to casily 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 bailable flights, and perform other clerical tasks (like checking the number of bookings, passenger information, ctc. 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 counte to implement different additional functionalities to your code and can 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.com 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 userid, and password Details of all registered users should be saved in a ser acel file All "excel files" can be implemented as excel files of mentioned names Manager: Manager can sign in and logot only. No sign up required for managers (these users should already exist in the users list) A sample same can be maten New flights are added to the Flights database by the Managers. The flight information should contain enough attributes to distinctly identify A manager can access information about all flights listed in the system. Customer a Needs to sign up with username and password. au Uses the credentials saved at sign up to log in and start a new session 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. 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 . Customer should be able to cancel an existing booking from his console view Make additional clusek, 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 You are to develop a C++ code for an airlines online ticket booking system. The code should be user-friendly to allow the customer to casily 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 bailable flights, and perform other clerical tasks (like checking the number of bookings, passenger information, ctc. 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 counte to implement different additional functionalities to your code and can 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.com 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 userid, and password Details of all registered users should be saved in a ser acel file All "excel files" can be implemented as excel files of mentioned names Manager: Manager can sign in and logot only. No sign up required for managers (these users should already exist in the users list) A sample same can be maten New flights are added to the Flights database by the Managers. The flight information should contain enough attributes to distinctly identify A manager can access information about all flights listed in the system. Customer a Needs to sign up with username and password. au Uses the credentials saved at sign up to log in and start a new session 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. 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 . Customer should be able to cancel an existing booking from his console view Make additional clusek, 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Can petty cash box money be used for a loan or personal use?

Answered: 1 week ago