Lua calculator

This article is tagged with: Lua calculator and lua

lua calculator

local function Addition(num1, num2)
print(num1+num2)
end
local function Subtraction(num1, num2)
print(num1-num2)
end
local function Multiplication(num1, num2)
print(num1*num2)
end
local function Division(num1, num2)
print(num1/num2)
end

This article is tagged with: Lua calculator and lua