Re: [Tutor] Help on finding the 1000th prime

2009-11-16 Thread bob gailer
Ray Holt wrote: find the 1000th. prime number. Break this down into 2 separate problems. (I assume 1 is the first prime number) 1 - determining the next prime number 2 - repeating that 1000 times. A while loop is a way to accomplish 2. How do you determine the next prime number? There are man

Re: [Tutor] Help on finding the 1000th prime

2009-11-16 Thread Kent Johnson
On Mon, Nov 16, 2009 at 10:56 AM, Ray Holt wrote: > I have posted this on other lists, but have just discovered this one. Can > someone give me help on writing the code necessary to find the 1000th. prime > number. I know I will have to use a while loop, but I can't seem to get the > body of the c

Re: [Tutor] Help on finding the 1000th prime

2009-11-16 Thread christopher . henk
mrhol...@sbcglobal.net wrote on 11/16/2009 10:56:07 AM: > I have posted this on other lists, but have just discovered this one. Welcome to the list. I am sure you will find plenty of folks here who will be happy to help you. > Can someone give me help on writing the code > necessary

[Tutor] Help on finding the 1000th prime

2009-11-16 Thread Ray Holt
I have posted this on other lists, but have just discovered this one. Can someone give me help on writing the code necessary to find the 1000th. prime number. I know I will have to use a while loop, but I can't seem to get the body of the code to function rightly. I would appreciate any help. I am