View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Tyler Tarwater

Tyler's CoWeb Assignment 3
CoWeb Assignment 2


Fibonacci
fib: nInteger
	nInteger < 0 ifTrue: [self error: 'invalid parameter'. ^-1. ].
	nInteger = 0 ifTrue: [^1].
	nInteger = 1 ifTrue: [^1].
	nInteger > 1 ifTrue: [^ (self fib:[n-1] + self fib:[n-2])].


CRC Cards
Uploaded Image: tarwatercrc.JPG
Uploaded Image: tarwatercrc2.JPG

Links to this Page