Pergunta de entrevista da empresa NS Matrix Services

Write a function for printing prime numbers.