Definition :- A Natural number greater than 1 which is divisible by one and itself is known as Prime Number.
Example:- 5 can only be divided evenly by 1 or 5, so it is a prime number.
But 6 can be divided evenly by 1, 2, 3 and 6 so it is NOT a prime number.
Example:- 5 can only be divided evenly by 1 or 5, so it is a prime number.
But 6 can be divided evenly by 1, 2, 3 and 6 so it is NOT a prime number.
Here is The Simple Program To Calculate Whether A Given Number is Prime or Not
0 Comments:
Click Here To add Comment
Post a Comment