Cognizant Interview Question

write a c program to find a prime number.