Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fibonacci factorial

Name: Anonymous 2009-05-29 11:25

Can anyone code one for me?
Please help, I need it for tomorrow.
Thanks.

Name: Anonymous 2009-05-29 11:57

(define (fibonacci-factorial n)
  (cond ((= n 0) 0)
        ((= n 1) 1)
        (else
         (+ (factorial (fibonacci (- n 1)))
            (factorial (fibonacci (- n 2)))
          ))))


Am I doing it right?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List