RosettaCodeData/Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno

11 lines
304 B
Plaintext

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)
end