Algorithmes - somme
public int sum(List<Integer> numbers) {
int sum = 0;
for (Integer n: numbers) {
sum += n;
}
return sum;
}
Hilarious Hippopotamus
public int sum(List<Integer> numbers) {
int sum = 0;
for (Integer n: numbers) {
sum += n;
}
return sum;
}