Search:

Type: Posts; User: CodeNewb

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    8,166

    Re: Printing Sum of Primes of a number

    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();...
  2. Replies
    9
    Views
    8,166

    Re: Printing Sum of Primes of a number

    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...
  3. Replies
    9
    Views
    8,166

    Re: Printing Sum of Primes of a number

    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.
  4. Replies
    9
    Views
    8,166

    Re: Printing Sum of Primes of a number

    The later...
  5. Replies
    9
    Views
    8,166

    Printing Sum of Primes of a number

    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...
Results 1 to 5 of 5