all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
17
Task/User-input-Text/NetRexx/user-input-text.netrexx
Normal file
17
Task/User-input-Text/NetRexx/user-input-text.netrexx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* NetRexx */
|
||||
options replace format comments java crossref symbols nobinary
|
||||
|
||||
checkVal = 75000
|
||||
say 'Input a string then the number' checkVal
|
||||
parse ask inString
|
||||
parse ask inNumber .
|
||||
|
||||
say 'Input string:' inString
|
||||
say 'Input number:' inNumber
|
||||
if inNumber == checkVal then do
|
||||
say 'Success! Input number is as requested'
|
||||
end
|
||||
else do
|
||||
say 'Failure! Number' inNumber 'is not' checkVal
|
||||
end
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue