Pregunta de entrevista de SIL International

Given an array of integers, return the average for the array.