Extra primes: Difference between revisions
m
→{{header|Wren}}: Removed preamble as task now clear and changed output wording to reflect this.
m (added highlighting and whitespace.) |
m (→{{header|Wren}}: Removed preamble as task now clear and changed output wording to reflect this.) |
||
Line 255:
{{libheader|Wren-math}}
{{libheader|Wren-fmt}}
<lang ecmascript>import "/math" for Int
import "/fmt" for Fmt
Line 281 ⟶ 280:
}
System.print("The extra primes
var count = 0
for (cand in candidates) {
Line 291 ⟶ 290:
{{out}}
<pre style="height: 45ex">
The extra primes
1: 2
2: 3
|