Fibonacci Series Logic..

Pages: 12
Well the other guy whipped out code so I was simply fixing it.


Unfortunately, you didn't fix it.
closed account (N36fSL3A)
I was fixing the problem with the array value not being constant. How did I not fix it?
How did I not fix it?


Maybe you should try running your code.
i can't see why is all this mess about this topic !
it's just Fibonacci sequence no offence.
all it needs is a function with two static variables, and voila, we have the solution.

this will work unless you want some special functionality in the program.
closed account (N36fSL3A)
Ain't nobody got time fo' dat.

They were arguing over the reading and I just threw a random example out there hoping I'd work.
Topic archived. No new replies allowed.
Pages: 12