Create C program to check whether given program is prime or not

A number is prime if it is divisible by one and itself