Pergunta de entrevista da empresa Amdocs

Some question on how to print prime numbers