Pergunta de entrevista da empresa J.B. Hunt Transport

(Whiteboard question) - write a method that returns the middle character from a given word.