Primes whose first and last number is 3: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added wording to the REXX section header to explain the program's options. .) |
m (→{{header|REXX}}: elided a word from the REXX section header.) |
||
Line 93: | Line 93: | ||
<br>allows the specification of (both) the leading and trailing decimal digit must be. |
<br>allows the specification of (both) the leading and trailing decimal digit must be. |
||
Also, if a negative |
Also, if a negative '''cols''' is specified, 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. */ |
<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.*/ |
parse arg hi cols dig . /*obtain optional argument from the CL.*/ |