Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!