Pergunta de entrevista da empresa State of Ohio

Must code an elevator function.