Microchip Technology Interview Question

Write a program in C that determines if a number is prime