Question
Write an airline flight Reservation System C++ code, that will display a menu with the following options : (write every detail in code) 1/make reservation
Write an airline flight Reservation System C++ code, that will display a menu with the following options :
(write every detail in code)
1/make reservation
2/display reservation info and exit
3/update reservation (edit menu, and update name,id ,destination)
4/delete reservation
5/add seats
Conditions:
Use only arrays, functions, structs, switch cases and files, if statements,loops.
Names of Arrays/arrays of structs in-use:
struct flights {
string name;
int id;
string classes;
double price;
string time& date;
char destination;
} f[10];
List All Functions Prototype (Headers):
void printmenu( );
void available( );
void booking( flights f[ ]);
void editmenu(flights f[ ]);
void updateinfo(flights f[ ]);
void delete_reservation(flights f[ ]);
void add_seats (flights f[ ]);
void exit(flights f[ ]);
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started