Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Integer-comparison/NetRexx/integer-comparison.netrexx
Normal file
15
Task/Integer-comparison/NetRexx/integer-comparison.netrexx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* NetRexx */
|
||||
options replace format comments java crossref symbols nobinary
|
||||
|
||||
numL = 0
|
||||
numR = 0
|
||||
loop label running forever
|
||||
say 'Provide two integers [or anything else to stop]:'
|
||||
parse ask numL numR .
|
||||
if \numL.datatype('w') | \numR.datatype('w') then leave running
|
||||
if numL < numR then say numL 'is less than' numR
|
||||
if numL = numR then say numL 'is equal to' numR
|
||||
if numL > numR then say numL 'is greater than' numR
|
||||
end running
|
||||
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue