You are viewing a single comment's thread. Return to all comments →
import static java.lang.System.in; class Prime { public void checkPrime(int... numbers) { for (Integer number : numbers) { if (BigInteger.valueOf(number).isProbablePrime(10)) { System.out.print(number + " "); } } System.out.println(); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Prime Checker
You are viewing a single comment's thread. Return to all comments →
my small code