Name: Anonymous 2008-04-21 14:38
Hi
I need some help with calculating Fibonacci
N is an output that shows the Fibonacci numbers
-- Begin
N <= 0 -> N=1 A=1 B=1 C=1 D=1;
N=A+B
C=N
N=B+C
D=N
N=C+D
B=N
N=D+B
A=N
-- Restart at begining
Any idea what I did wrong? I can't figure it out
I need some help with calculating Fibonacci
N is an output that shows the Fibonacci numbers
-- Begin
N <= 0 -> N=1 A=1 B=1 C=1 D=1;
N=A+B
C=N
N=B+C
D=N
N=C+D
B=N
N=D+B
A=N
-- Restart at begining
Any idea what I did wrong? I can't figure it out