Overview in C++
For this assignment, implement and use the methods for a classcalled Elevator.
Elevator class
This class will simulate very basic operations of anelevator.
Data Members
The data members for the class are:
-
an integer that holds the current floor where the elevator islocated
-
an integer symbolic constant that holds the number of the bottomfloor in a building. Use a value of 1.
-
an integer symbolic constant that holds the number of the topfloor in a building. Use a value of 15.
The symbolic constants need to be handled in a slightlydifferent manner in this program than in previous programs. Theissue with this program is that the
OR
OR