Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
# Fibonacci Sequence
# by Martin del Rio
# https://www.ldpl-lang.org/
DATA:
a is number
b is number
swap is number
length is number
PROCEDURE:
store 1 in a
store 1 in b
display a crlf b crlf
store 30 in length
while length is greater than 0 do
store b in swap
in b solve a + b
store swap in a
display b crlf
in length solve length - 1
repeat