| baby buddha ( @ 2003-10-22 10:17:00 |
Fibonacci Sequence
EDIT:
Got the coding worked out now, thanks for everyone's help!
Late thx for all the help with QBasic.
I'm going crazy trying to get this fibonacci sequence to work right in Visual Basic.
Most sites give me the formula, but now I'm trying to understand it, and it's just not coming out right.
Anyone got any advice/help?
The program needs to generate a selected Fibonacci number (i.e. 1 = 1, 2 = 1. 3 = 2, 4 = 3...etc.)
The general formula is Fibonacci = Fibonacci(Number-1)+Fibonacci(Number-2)
Can anyone help please? Reply if you need additional details, etc...
EDIT:
Got the coding worked out now, thanks for everyone's help!
Late thx for all the help with QBasic.
I'm going crazy trying to get this fibonacci sequence to work right in Visual Basic.
Most sites give me the formula, but now I'm trying to understand it, and it's just not coming out right.
Anyone got any advice/help?
The program needs to generate a selected Fibonacci number (i.e. 1 = 1, 2 = 1. 3 = 2, 4 = 3...etc.)
The general formula is Fibonacci = Fibonacci(Number-1)+Fibonacci(Number-2)
Can anyone help please? Reply if you need additional details, etc...