0
Please the result of this code is 5 I don't understand y
int fib[10]; fib[0]=1; fib[1]=1; for(int I=2; I<10; I++) fib[I] = fib[i-1] + fib[i-2]; cout<<fib[4]<<endl;
1 Answer
int fib[10]; fib[0]=1; fib[1]=1; for(int I=2; I<10; I++) fib[I] = fib[i-1] + fib[i-2]; cout<<fib[4]<<endl;