C program to find prime number

C program to find prime number

Output:

Enter a number to find whether it is prime number:
5
5 is a prime number

Implementation: