check the number is prime or not – C Program

Prime or Not – C Program

Write a c program for check the inputted number is prime or not.

The prime number is divisible only by itself, and the rest of all numbers are composite.

Here is the c program for check the given number is prime or not using for loop.

The out put of check prime number c program is :

 

Leave a Reply

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

nineteen − fifteen =