Cognizant Interview Question

program to print prime number?