Additive primes: Difference between revisions
→{{header|langur}}
(Added Oberon-07) |
Langurmonkey (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 428:
FI
OD;
print( ( newline, "Found ", whole( additive count, 0 )
print( ( " additive primes below ", whole( UPB prime + 1, 0 ), newline ) )
END</syntaxhighlight>
{{out}}
Line 2,361 ⟶ 2,362:
=={{header|langur}}==
<syntaxhighlight lang="langur">val
not any(fn
}
val
writeln "Additive primes less than 500:"
var
for
if
write
if
}
}
writeln
</syntaxhighlight>
|