Pergunta de entrevista da empresa Siemens

write the algorithm for finding mean of the array elements