Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@dgarroDC @Saeuissimus @Lartu
25 lines (20 sloc) 366 Bytes
# 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
You can’t perform that action at this time.