Search:

Type: Posts; User: Wwong3333

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    1,566

    Re: Trial Division Loop Problem

    Ah sorry, I'm new to using forums.


    // Loop iteration of the 100 numbers
    for(min = 99900; min < max; min++)

    The outer loop works fine. It iterates 100 times from 99900 to 99999....
  2. Replies
    7
    Views
    1,566

    Re: Trial Division Loop Problem

    Ahh! pseudocode. Thanks for the steps you wrote down for me. I wrote an outer loop that runs from 99900 to 99999, and wrote a inner loop to test for primeness. However it goes wrong, and debugging is...
  3. Replies
    7
    Views
    1,566

    Re: Trial Division Loop Problem

    Thanks for the reply!
    I understand the steps you gave me.. but is there a way in java where you can assign a variable a certain range?
    you put m = Min to Max
  4. Replies
    7
    Views
    1,566

    Trial Division Loop Problem

    Hello everybody!

    I've been working on trial division loop problem and I hit a dead end :(

    Before I write about how I attempted to the problem before coming here, I have to show you guys the...
Results 1 to 4 of 4