Pregunta de entrevista de Wipro

write a program to print the prime numbers using function?