I did not ask if he solved the problem. I asked you to read: The problem with spoonfeeding
Only after you read it will you understand why we have this policy
Type: Posts; User: jps
I did not ask if he solved the problem. I asked you to read: The problem with spoonfeeding
Only after you read it will you understand why we have this policy
@Kewish please read The problem with spoonfeeding
2 being the only even prime... why do ++ each iteration? That causes a check to be false every other iteration. How about += 2 instead, only hitting the odd numbers up to n/2