Question: I need to create a while loop with the code that has been provided. I need to create that sample output as well. Here are

I need to create a while loop with the code that has been provided. I need to create that sample output as well. Here are the codes...
Runner:
//(c) A+ Computer Science //www.apluscompsci.com //Name import static java.lang.System.*; import java.lang.Math; public class PrimeRunner { public static void main ( String[] args ) { //add test cases } }
Other Code:
//(c) A+ Computer Science //www.apluscompsci.com //Name import static java.lang.System.*; import java.lang.Math; public class Prime { private int number; public Prime() { } public Prime(int num) { } public void setPrime(int num) { } public boolean isPrime() { return true; } public String toString() { String output=""; return output; } }
Sample Data: 24 7 100 113 65535 2 7334 7919 1115125003 Sample Output : 24 is not prime. 7 is prime. 100 is not prime. 113 is prime. 65535 is not prime. 2 is prime. 7334 is not prime. 7919 is prime. 1115125003 is not prime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
