Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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