Originally Posted by pradeep
Its not using square root anywhere, and neither does it require too. Could you please tell me why does it need to use square root??
He edited the code to find a no is prime or not to loop till the sqrt(n) and not till n/2