Pergunta de entrevista da empresa MotherApp

To write a program to find all primes between 2 and 1000 inclusively, without using multiplication, division and/or modulus operators.

Resposta da entrevista

Sigiloso

11 de jan. de 2016

To use an array, mark the multiplies of the numbers. And print all unmarked number in the end.