Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to write c++ code for simple buss reservation system. You have to create 3 structures named Buss, Route and Reservation. Buss structure

You are required to write c++ code for simple buss reservation system. You have to create 3 structures named Buss, Route andReservation. Buss structure will have its member like buss number, driver name and the route of the buss. Remember you have to use the object of Route in the buss structure for the routes of buss. Route structure will have only 3 members like from, to and fare. Reservation structure will be used for the reservation of seats in the buss. So its members are the Buss, customer nameand bill.

Now you are required to make an array of structure Buss and Reservation and implement the following functions

1. addBuss();

2. displayBussess();

3. deleteBuss();

4. reserveBuss();

5. showReservations();

6. saveDataToFile();

7. loadDataFromFile();

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

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago