Answers for "c fibonacci series recursion"

C
0

c fibonacci series recursion

int fibs(int a)
{ 
  if (a==0) return 0;
  else if(a==1)
    return 1;
  else
    return (fibs(a-1)+fibs(a-2));
}
Posted by: Guest on February-05-2022

Code answers related to "c fibonacci series recursion"

Code answers related to "C"

Browse Popular Code Answers by Language