Program for Prime Number in C

Here you will get program for prime number in C.

A number that is only divisible by 1 or itself is called prime number.

For example, 17 is prime, 6 is not prime, etc.

Program for Prime Number in C

 

Output

Enter any number:15

The given number is not prime

Leave a Reply

Your email address will not be published. Required fields are marked *