RosettaCodeData/Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

10 lines
304 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)
end