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}}
Unsure of the task - see talk page.
<lang ecmascript>import "/math" for Int
import "/fmt" for Fmt
Line 281 ⟶ 280:
}
 
System.print("The extra primes withunder up to 4 digits10,000 are:")
var count = 0
for (cand in candidates) {
Line 291 ⟶ 290:
 
{{out}}
<pre style="height: 45ex">
<pre>
The extra primes withunder up to 4 digits10,000 are:
1: 2
2: 3
9,479

edits