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
Step: 1
Get Instant Access to Expert-Tailored 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