Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
13
Task/Integer-comparison/Rebol/integer-comparison.rebol
Normal file
13
Task/Integer-comparison/Rebol/integer-comparison.rebol
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Rebol [
|
||||
Title: "Comparing Two Integers"
|
||||
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