Elevator (C++)
Following the diagram shown below, create the class Elevator. An
Elevator represents a moveable carriage that lifts passengers
between floors. As an elevator operates, its sequence of operations
are to open its doors, let off passengers, accept new passengers,
handle a floor request, close its doors and move to another floor
where this sequence repeats over and over while there are people
onboard. A sample driver for this class is shown below. Each
elevator request translates into just...