Search:

Type: Posts; User: dontpanic

Search: Search took 0.15 seconds.

  1. [SOLVED] Re: Repeating infinite loop in prime number finder

    Ahh, thanks! I tried that and it turns out it wasn't stopping at the boundary number entered by the user, so I added an extra condition to the inner while loop and took away the outside one and it...
  2. [SOLVED] Repeating infinite loop in prime number finder

    Hi!,

    I'm trying to write a short code for my own curiosity that will "sieve out" prime numbers from a range of positive integers (with an upper bound defined by the user) by dividing each integer...
Results 1 to 2 of 2