-- Code 5 - Cube a number
-- Lua Programming
print ("Enter a number to cube.")
x = io.read("*n")
y = x^3
print ("Your inputed number is:",x)
print ("Your cubed number is:",y)
To embed this project on your website, copy the following code and paste it into your website's HTML: