Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Integer-comparison/SNOBOL4/integer-comparison.sno
Normal file
8
Task/Integer-comparison/SNOBOL4/integer-comparison.sno
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
* # Get user input
|
||||
output = 'Enter X,Y:'
|
||||
trim(input) break(',') . x ',' rem . y
|
||||
|
||||
output = lt(x,y) x ' is less than ' y :s(end)
|
||||
output = eq(x,y) x ' is equal to ' y :s(end)
|
||||
output = gt(x,y) x ' is greater than ' y
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue