Differences

This shows you the differences between two versions of the page.

assignment-6 [2016/03/05 08:22]
jhemann
assignment-6 [2016/10/07 19:32] (current)
jhemann
Line 190: Line 190:
      (cond       (cond
[(zero? n) 0] [(zero? n) 0]
- [(= 1 n) 1]+ [(zero? (sub1 n)) 1]
[else (+ (fib fib (sub1 n)) (fib fib (sub1 (sub1 n))))]))))) [else (+ (fib fib (sub1 n)) (fib fib (sub1 (sub1 n))))])))))
</code> </code>
 

assignment-6.txt · Last modified: 2016/10/07 19:32 by jhemann