Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.35 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.35 KB

Elevator Design

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.

Table of Contents

Flow

  1. User input for elevator and floor numbers.
  2. Simulate the movement of elevators between floors.
  3. Display the floors as the elevator moves.
  4. Exit the simulation.

Prerequisites

  • Java Development Kit (JDK) installed on your machine.

Class diagram

image

Run the Application

  1. Clone the repository:

    git clone https://github.com/manojjahgirdar/elevator-design)https://github.com/manojjahgirdar/elevator-design.git
  2. Goto the root of the repo and compile the java code:

    cd elevator-design
    javac *.java
  3. The JVM compiles the code to an execuitable binary. Run the binary to run the project:

    java Main

Screenshots

Screenshot 2023-11-29 at 7 21 15 PM