Question
Write an airline flight Reservation System in C++ code, that will display a menu with the following options : 1/make reservation 2/display reservation info 3/update
Write an airline flight Reservation System in C++ code, that will display a menu with the following options :
1/make reservation
2/display reservation info
3/update reservation
4/delete reservation
5/add reservation
Conditions:
Use only arrays, functions, structs, switch cases and files.
Names of Arrays/arrays of structs in-use:
struct flights {
string name;
int id;
string classes;
double price;
string time& date;
char destination;
} f[20];
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_reservation (flights f[ ]);
void exit(flights f[ ]);
Write an airline flight Reservation System in C++ code, that will display a menu with the following options :
1/make reservation
2/display reservation info
3/update reservation
4/delete reservation
5/add reservation
Conditions:
Use only arrays, functions, structs, switch cases and files.
Names of Arrays/arrays of structs in-use:
struct flights {
string name;
int id;
string classes;
double price;
string time& date;
char destination;
} f[20];
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_reservation (flights f[ ]);
void exit(flights f[ ]);
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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