# Problem description Design a finite state machine that handles an elevator system. The building has

Problem description Design a finite state machine that handles an elevator system. The building has five (5) floors. Consider that when moving between floors, the elevator must transition between floors from source floor to destination floor (i.e. a transition from floor 5 to 3 can’t miraculously occur by skipping floor 4). A panic button should activate an alarm system (assume a red LED) and should disable elevator functions. Also, the system can be locked with a key input such that the elevator can’t be operated.