Friday, February 28, 2014

To find whether the number entered is prime or not

I have written the simple source code to find whether the entered number is prime or not.
For this we have to know what is prime number.
Prime number is the number which is divisible by 1 and the  number itself. Lets take an example. For example 2 is prime number and 4 is not prime number or  it is composite number.

No comments:

Post a Comment