1.

How can we determine that any number is a prime number?

Answer» NUMBER is greater than 1 is called a PRIME number, if it has only TWO factors, namely 1 and the number itself. Step 1: Find a whole number nearly greater than the SQUARE root of A. K ¿ square root(A) Step 2: Test whether A is divisible by any prime numberless than K. If YES A is not a prime number


Discussion

No Comment Found

Related InterviewSolutions