Sieve of eratosthenes doubt


it is not showing any output

image
it is showing the output while executing
can you please exactly tell what is your doubt


i attached the wrong file by mistake. this is the correct one

you didn’t created the sieve properly


this is the corrected code you can refer this

1 Like

okay thanks :slight_smile: