Track C++
C++ track

Sieve

An exercise from the C++ track
medium

About this exercise

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

control flow loops
math
View all solutions