Computer Science, asked by npathak7958, 1 year ago

Algorithm to find fibonacci series with recursion

Answers

Answered by skmusical18
0

(required:n>=0)

let rec fibo (n)

{

a=1;b=-1;c=0

for (int i=1;i <=n;i++)

c=a+b

b=c

a=c

}

Similar questions