Skip to main content

recursive fibonacci

a<- -1
b<- -1
c<- -0


fib(a,b)
{
c=a+b
if(c<=n)
{print c
fib(b.c)
}
}

Comments

Popular posts from this blog

unix commands