FactSet Interview Question

Write a c program for prime numbers, control statements