feat(sum): algoritmo criado. #6

Merged
luizfelipe9627 merged 1 commits from feature/algorithm06 into development 2022-11-01 01:27:20 +00:00

View File

@ -1,4 +1,10 @@
export function sum(values) {
// implementar logica aqui
var contador = 0;
for(var i = 0; i < values.length; i++) {
contador += values[i];
}
return contador;
}