Answers for "fibnocci code in haskell language"

0

fibnocci code in haskell language

fib :: Integer -> Integer
fib 0 = 0
fib 1 = 1
fib n = fib (n-1) + fib (n-2)
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language