0
Please I need urgent help, how to fix my code? every time I call the right error method,I am beginner and am locked in an exercise that requires primes based on a number n(in this case this.n),for example the number is 20,must return an Arraylist with the first 20 primes(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71),precise code using for-each
See how to find prime numbers in this question.
– Daniel
You can paste your code here instead of this image?
– Daniel
Thank you so much for your help and patience.
– John Schultz
Good luck... :)
– Daniel