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 *

1 + 7 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">