Thread
:
Check if a number is prime or not
View Single Post
shabbir
Go4Expert Founder
27Nov2008,18:21
You don't need to loop till i but even i/2 or square root of i is also sufficient.