Primes whose first and last number is 3: Difference between revisions

m
→‎{{header|REXX}}: added highlighting to the REXX section header.
m (→‎{{header|REXX}}: changed wording in the REXX section header.)
m (→‎{{header|REXX}}: added highlighting to the REXX section header.)
Line 97:
<br>allows the specification of what (both) the leading and trailing decimal digit must be.
 
Also, &nbsp; if a negative &nbsp; '''cols''' &nbsp; is specified, &nbsp; only the &nbsp; ''count'' &nbsp; of primes found is shown.
<lang ring>/*REXX pgm finds and displays primes (base ten) that contain a leading and trailing 3. */
parse arg hi cols dig . /*obtain optional argument from the CL.*/