#include <stdio.h> /*fibonacci number*/ long fibonacci(int n); /*function declaration*/ main() { int n, result; scanf("%d",&n); result = fibonacci(n); printf("%d\n",result); } long fibonacci(int n) /*defined function*/ { if(n == 0 || n == 1) return n; else return fibonacci(n-1)+fibonacci(n-2); }