langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
10
Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
Normal file
10
Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue