Anonymous user
ABC problem: Difference between revisions
m
→{{header|REXX}}: made the toy block letters to match the task's version of the blocks. -- ~~~~
(→{{header|REXX}}: added the REXX language. -- ~~~~) |
m (→{{header|REXX}}: made the toy block letters to match the task's version of the blocks. -- ~~~~) |
||
Line 169:
=={{header|REXX}}==
<lang rexx>/*REXX pgm tests if a word(s) can be created from a pool of toy blocks. */
blocks = '
list = 'A baRk bOOk trEat coMMon squaD conFuse' /*can be in any case. */
do k=0 to words(list) /*traipse through list. */
|