Cognizant Interview Question

Write a program to find prime numbers?