Prime Numbers Code Help
- by andrew
Hello Everybody,
I am suppose to "write a Java program that reads a positive integer n from standard input, then prints out the first n prime number." It's divided into 3 parts.
1st: This function will return true or false according to whether m is prime or composite. The array
argument P will contain a sufficient number of primes to do the…