Question: Create a class for the following description: An elevator can move up, and it can move down. Elevators can open doors, and elevators can close

 Create a class for the following description: An elevator can move

Create a class for the following description: An elevator can move up, and it can move down. Elevators can open doors, and elevators can close doors. It has five buttons: Floor 2, Floor 3, Floor 4, Open Doors, and Close Doors. These buttons are represented by an integer. Create a declaration, only, of the class to include a public constructor and functions, and private data members. Do not write out the denitions of the class functions, or you Will lose full points C++

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 Programming Questions!