Question d’entretien chez Thales

Write a function to sum up the numbers in an array