RosettaCodeData/Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
2023-07-01 13:44:08 -04:00

11 lines
341 B
Text

output = "Enter first integer:"
first = input
output = "Enter second integer:"
second = input
output = "sum = " first + second
output = "diff = " first - second
output = "prod = " first * second
output = "quot = " (qout = first / second)
output = "rem = " first - (qout * second)
output = "expo = " first ** second
end