#1✎ 242LumageHead AdminGardeningI like to garden!HobbiesReadingI like to read books!HobbiesDrawingI like to draw!Hobbies'yFib.lib version 1.0.1.2.2.tetris
'author: Y
'for calculating fibonacci sequence
common def fib n:
print rfib(n):end
common def rfib(n):
if(n == 0 || n == 1) then
return n
else:
return rfib(n-1) + rfib(n-2):endif:end
common def max_int():
return &h7FFFFFFF:end
common def as n end
common def yfib n end
Posted
Edited
by Lumage