Fibonacci sequence: Difference between revisions

Logo
(got the alpha order wrong)
(Logo)
Line 299:
[+]
binrec .
 
=={{header|Logo}}==
to fib_acc :n :f :g
if :n < 2 [output :g]
output fib_acc :n-1 :g :f+:g
end
to fib :n
output fib_acc :n 0 1
end
 
=={{header|MAXScript}}==
Anonymous user