All pastes #346353 Raw Edit

Fibonaccies

public text v1 · immutable
·published 2007-02-09 09:28 UTC
rendered paste body
// Kristian Allikmaa

int fib(int n)
{
   if( n <= 2) return 1
   else return fib(n-1) + fib(n-2)
}