Ubuntu Pastebin

Paste from jusss at Mon, 2 Feb 2015 15:57:59 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <stdio.h>
int fibonacci(x,y,z)
{
  if (z==0)
    return x;
  else
    return fibonacci(y,x+y,z-1);
}

int main(void)
{
  fibonacci(0,1,1000000);
}
Download as text