Track C
C track

Sieve

An exercise from the C track
easy

About this exercise

Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.

control flow if statements
memory management
math
View all solutions