Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,13 @@
local function divmod(a, b) return { a // b, a % b } end
io.write("Input the first integer : ")
local a = io.read("n")
io.write("Input the second integer: ")
local b = io.read("n")
print($"sum: {a + b}")
print($"difference {a - b}")
print($"product {a * b}")
print($"quotient {a // b}")
print($"remainder {a % b}")
print($"exponentation {math.tointeger(a ^ b)}")
print($"divmod {divmod(a, b):concat(", ")}")