Question
C++ design, code and fully test a reservation system for scheduling transportation The reservation system: A reservation must contain the following information: The time-slot reserved.
C++
design, code and fully test a reservation system for scheduling transportation
The reservation system:
A reservation must contain the following information:
The time-slot reserved. (i.e. 800, 830, 900, 930. etc.)
Type of vehicle requested (i.e. Motorcycle, Car, Van).
Motorcycles can only accommodate a single passenger, thus only one reservation may be taken for this vehicle type per time-slot.
Cars can accommodate up to two passengers, thus two reservations may be taken for this vehicle type per time-slot.
Vans can accommodate up to four passengers, thus four reservations may be taken for this vehicle type per time-slot.
An assigned six character reservation code consisting of the drivers ID the reservation has been assigned to (i.e. A, B, C, D, or E) followed by a five digit count. For example, if a reservation was the 17th taken on a particular day and it was assigned to driver D, it would have the reservation code D00017.
Note, even though multiple passengers can ride in a car or van, a reservation is associated with a single passenger (i.e. one passenger one reservation)
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