Lua Program to subtract two numbers
Program
io.write('Enter value of a: ')
local a = io.read("*n")
io.write('Enter value of b: ')
local b = io.read("*n")
print('Difference: ', a - b)
Output
Enter value of a: 89
Enter value of b: 34
Difference: 55.0