Anonymous user
Special neighbor primes: Difference between revisions
m
→{{header|REXX}}: added a comment.
m (→{{header|Raku}}: simplify) |
m (→{{header|REXX}}: added a comment.) |
||
Line 353:
=={{header|REXX}}==
A little extra code was added to present the results in a grid-like format.
<lang rexx>/*REXX pgm finds special neighbor primes: P1, P2, P1+P2-1 are prime, and P1 and P2<100*/
parse arg hi cols . /*obtain optional argument from the CL.*/
|