Frage im Vorstellungsgespräch bei Siemens

write the algorithm for finding mean of the array elements