Monday, April 1, 2013

Write a C program to check whether a given number is prime or ...

C program to find prime numbers


int main(){

    int num,i,count=0;
    printf("Enter a number: ");
   if(count==0 && num!= 1)
        printf("%d is a prime number",num);
      printf("%d is not a prime number",num);
   return 0;

Enter a number: 11
11 is a prime number
Write a C++ program to find prime numbers between  answers .Write a C Program to check number is Prime number . How can you write a program that will determine if the.Program to print first n prime numbers in c.?
C program to determine prime number. Determining if a number is prime in c. C program to find given number is prime or not
IT Certification Category (English)640x480

Partner Sites

Top Online Courses From ProgrammingKnowledge

Python Course
Java Course
Bash Course
Linux Course
C Course
C++ Course
PHP Course
Android Course
C# Course
JavaFx Course
NodeJs Course
Jenkins Course
Scala Course
Bootstrap Course
MongoDB Course
QT C++ GUI Course