- 1
It returns if the given number is prime or not. It counts the number of factors and check if it is 2. prime numbers have only two factors i.e 1 and the number itself.
8th Feb 2018, 2:51 PM
Ravi Chandra Enaganti
Ravi Chandra Enaganti - avatar