This commit is contained in:
2025-07-02 00:07:49 -07:00
commit c208c6b35d
114 changed files with 71862 additions and 0 deletions

11
lua/test.lua Normal file
View File

@ -0,0 +1,11 @@
function factorial (i)
if i == 0 then
return 1
else
return i * factorial(i-1)
end
end
print("number: ")
num = io.read("*number")
print(factorial(num))