Factorial in Falcon
Example for versions
Falcon 0.9.6.6
This example uses iterative factorial calculation.
fact = 1
for i in [0:16]
printl (i, "! = ", fact)
fact *= (i+1)
end
Comments
]]>blog comments powered by Disqus
]]>