Domanda di colloquio di Emerson

Write a function that outputs the maximum number in an array. Choose any programming language.