xennygrimmato / Data-Structures-and-Algorithms

A collection of some implementations of data structures and algorithms.
107 stars 92 forks source link

Update sieve.cpp #70

Open Shrutiruchi opened 4 years ago

Shrutiruchi commented 4 years ago

I have modified the condition for "for" loop and try to show how we can implement sieve of erastothenes using another simpler condition also.