I\'m trying to find the sum of the prime numbers < 2,000,000. This is my solution in Java but I can\'t seem get the correct answer. Please give some input on what could b
Your isPrime doesn't work for squares. isPrime(9) returns true.