Answers for "fibonacci using recursio"

0

recursive fibonacci scheme

(define (fib2 n)
    (let loop
      ((m 0)
       (k 1)
       (count n))
      (if (= count 0)
        m
        (loop k (+ m k) (- count 1)))))
Posted by: Guest on October-12-2020

Code answers related to "fibonacci using recursio"

Code answers related to "Scheme"

Browse Popular Code Answers by Language