Prime triplets: Difference between revisions

add FreeBASIC
m (added the Prime Numbers category.)
(add FreeBASIC)
Line 11:
:*   The RosettaCode task for just (p,p+4):   [[Cousin primes]]
<br><br>
 
=={{header|FreeBASIC}}==
<lang>#include "isprime.bas"
for p as uinteger = 3 to 5499 step 2
if not isprime(p+6) then continue for
if not isprime(p+2) then continue for
if not isprime(p) then continue for
print using "[#### #### ####] ";p;p+2;p+6;
next p</lang>
 
=={{header|Go}}==
781

edits