Category:Action! Sieve of Eratosthenes: Difference between revisions

→‎Sieve of Eratosthenes: fixed syntax highlighting
(Created page with "== Sieve of Eratosthenes == The following module marks prime numbers using Sieve of Eratosthenes algorithm. <lang Action!>MODULE PROC Sieve(BYTE ARRAY primes INT count) C...")
 
(→‎Sieve of Eratosthenes: fixed syntax highlighting)
 
(One intermediate revision by one other user not shown)
Line 1:
== Sieve of Eratosthenes ==
 
=== SIEVE.ACT ===
 
The following module marks prime numbers using Sieve of Eratosthenes algorithm.
 
<syntaxhighlight lang="action!">
<lang Action!>MODULE
MODULE
 
PROC Sieve(BYTE ARRAY primes INT count)
Line 22 ⟶ 25:
RETURN
 
MODULE</lang>
</syntaxhighlight>
3,038

edits