Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago