LinkedIn interview question

Find a mean value in an array.