I doubt I would of ever figured it out... Thanks for you help.
I like this by the way, I'm just learning java and I think this is neat...
SumOfPrimes sop = new SumOfPrimes();...
Type: Posts; User: CodeNewb
I doubt I would of ever figured it out... Thanks for you help.
I like this by the way, I'm just learning java and I think this is neat...
SumOfPrimes sop = new SumOfPrimes();...
I tried going back to the basic of is a number prime and working it that way, and I sort of see the problem... How do I kept the sum going even though that loop is changing it?
import...
So that shouldn't even be part of the test. I'm confused then about what I need to do, I have been scratching my head all day it seems... I thank you for the help.
The later...
I'm trying to print the sum of the prime numbers of a given number from the console. I think my test in my while loop might be wrong, but I'm not 100% sure. Any help, I would appreciate. Thanks in...
I'm trying to produce this pattern, and I need help with my loop statements...
-----1-----
----333----
---55555---
--7777777--
-999999999-