Neighbour primes: Difference between revisions
m
→{{header|PL/0}}: Added note about the PL/0 Special neighbour primes sample
m (→{{header|PL/0}}: typo) |
m (→{{header|PL/0}}: Added note about the PL/0 Special neighbour primes sample) |
||
Line 886:
=={{header|PL/0}}==
Formatted output isn't PL/0's forté, so this sample just shows each p1 of the p1, p2 neighbours.
<br>
This is almost identical to the [[Special neighbor primes#PL/0|PL/0 sample in the Special Neighbor primes task]]
<syntaxhighlight lang="pascal">
var n, p1, p2, prime;
|