10 lines
268 B
Text
10 lines
268 B
Text
Fibonacci takes Number
|
|
FNow is 0
|
|
FNext is 1
|
|
While FNow is less than Number
|
|
Say FNow
|
|
Put FNow into Temp
|
|
Put FNow into FNext
|
|
Put FNext plus Temp into FNext
|
|
|
|
Say Fibonacci taking 1000 (prints out highest number in Fibonacci sequence less than 1000)
|