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 :


Author: Meera Academy

Leave a Reply

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