This Java project simulates the movement of elevators in a building with multiple floors. Users can input elevator and floor numbers to simulate the elevator moving between floors.
- User input for elevator and floor numbers.
- Simulate the movement of elevators between floors.
- Display the floors as the elevator moves.
- Exit the simulation.
- Java Development Kit (JDK) installed on your machine.
-
Clone the repository:
git clone https://github.com/manojjahgirdar/elevator-design)https://github.com/manojjahgirdar/elevator-design.git
-
Goto the root of the repo and compile the java code:
cd elevator-design
javac *.java
-
The JVM compiles the code to an execuitable binary. Run the binary to run the project:
java Main