home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.disi.unige.it
/
2015-02-11.ftp.disi.unige.it.tar
/
ftp.disi.unige.it
/
pub
/
.person
/
CataniaB
/
teach-act
/
laboratorio
/
lab-26-4-99
/
ese5.c
next >
Wrap
Text File
|
1999-05-25
|
140b
|
13 lines
/* implementazione della funzione di Fibonacci */
int fib(int n)
{
if (n==0 || n==1)
return 1;
else
return fib(n-1) + fib(n-2);
}