Anonymous user
Two sum: Difference between revisions
m
→version 2: highlighted the negative in the REXX section header.
m (→version 2: highlighted the negative in the REXX section header.) |
|||
Line 1,688:
Also, it's mentioned that the indices are zero─based, and formatted solutions are shown.
The list of integers need ''not'' be sorted.
<lang rexx>/*REXX program finds two numbers in a list of numbers that sum to a particular target.*/
parse arg targ list /*obtain optional arguments from the CL*/
|