Print prime number – C Program

Prime number – C Program

Write a c program for print the prime number up to given number

Prime number is the number who divisible only by itself. The 2 is the minimum and first prime number.

In prime number series only 2 is even, all the rest of the prime number are odd.

The prime numbers are : 2 3 5 7 11 13 17 19………

Here is the example for print prime number up to inputted number. means we input any number and the result in display prime numbers up to that inputted number in c program.

The prime number of given number c program out put is :


Leave a Reply

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

9 + 1 =

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="">