Overview C Assignment Implement Use Methods Class Called Elevator Elevator Class Class Sim Q37132435

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.