Infosys Interview Question

write program to identify if a number is prime or not