Question d’entretien chez Tech Mahindra

write find Prime numbers logic?