langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
15
Task/Integer-comparison/REBOL/integer-comparison.rebol
Normal file
15
Task/Integer-comparison/REBOL/integer-comparison.rebol
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
REBOL [
|
||||
Title: "Comparing Two Integers"
|
||||
Author: oofoe
|
||||
Date: 2009-12-04
|
||||
URL: http://rosettacode.org/wiki/Comparing_two_integers
|
||||
]
|
||||
|
||||
a: ask "First integer? " b: ask "Second integer? "
|
||||
|
||||
relation: [
|
||||
a < b "less than"
|
||||
a = b "equal to"
|
||||
a > b "greater than"
|
||||
]
|
||||
print [a "is" case relation b]
|
||||
Loading…
Add table
Add a link
Reference in a new issue