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

m
→‎{{header|REXX}}: added wording to the REXX section header to explain the program's options. .
(→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: added wording to the REXX section header to explain the program's options. .)
Line 90:
 
=={{header|REXX}}==
This REXX version allows the specification of the limit to search for these types of primes   (in base ten),   and it also
<br>allows the specification of (both) the leading and trailing decimal digit must be.
 
Also, &nbsp; if a negative or zero &nbsp; '''cols''' &nbsp; is specified, &nbsp; only the count 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.*/