Generation

translateSun, 22 Jan 2023

Fibaconni series

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

Questions about programming?Chat with your personal AI assistant