Program for prime numbers

Thursday, December 4th, 2008  »  Posted By  »  Total 1 Comment

Here is a program to find whether the entered number is a prime or not. A prime number is a one, whose divisors are 1 and the number itself. Logic: The program expects the user to enter the number to check for prime property. The for loop in the program traces the iteration till the [...]

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup