Neighbour primes: Difference between revisions
Content added Content deleted
(Added PL/0) |
m (→{{header|PL/0}}: typo) |
||
Line 885: | Line 885: | ||
=={{header|PL/0}}== |
=={{header|PL/0}}== |
||
Formatted output isn't PL/0's forté, so this sample just shows each p1 of the p1, p2 neighbours. |
|||
<syntaxhighlight lang="pascal"> |
<syntaxhighlight lang="pascal"> |
||
var n, p1, p2, prime; |
var n, p1, p2, prime; |