Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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[ ]);

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions