function calculate_area(length, width, height)
local area = 2 * (length * width + length * height + width * height)
return area
end
function calculate_volume(length, width, height)
local volume = length * width * height
return volume
end
local length = 5
local width = 10
local height = 3
_Print_Console("Box with length " .. length .. ", width " .. width .. ", and height " .. height .. ":")
_Print_Console("Surface Area: " .. calculate_area(length, width, height))
_Print_Console("Volume: " .. calculate_volume(length, width, height))