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

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!