Develop #1

Merged
Gabriel_Ferraz_Nogueira merged 10 commits from Develop into master 2022-10-31 17:37:31 +00:00
Showing only changes of commit 010ccfdb0e - Show all commits

View File

@ -1,4 +1,8 @@
export function fibonacci(value) {
// implementar logica aqui
const fibo = [0, 1]
for (let i = 2; i <= value; i++) {
fibo[i] = fibo[i-1] + fibo[i-2]
}
return fibo[value]
}