Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Area and Circumference of a circle.
local function areaOfCircle(radius) return math.pi*radius^2 end local function circumferenceOfCircle(diameter) return math.pi*diameter end print("Area =",areaOfCircle(10)) print("Circumference =",circumferenceOfCircle(20))
run
|
edit
|
history
|
help
0
Non-Lua core for new scripting languages (Beta)
Frequency distribution of rolling a certain number on xDy
Security keygen
Brainfuck Interpreter (Lua) [reposted]
ok
test3
ShSlotMachine_Data
wwww
finding volume of pyramids (for me, but feel free to use)
Creating habits v2, Lua (WIP)