[try Beta version]
Not logged in

 
Finding Primes (Basic recursive Question) HELP

May 6, 2017 at 8:18pm
In completing the question below I'm not sure how to go about setting up this recursive function. Would it just have to be a series of if states such as is divisible by 2, 3, etc??

1. Write a function that prints out all the prime numbers between 2 and N, where N is one of the parameters.
May 6, 2017 at 9:56pm
Topic archived. No new replies allowed.