Got it! Silly mistake. I should have used compareTo instead of ==. My current issue is that I need to use BigIntegers in the conditions of the for loop, is that not allowed? Because my method seems...
Type: Posts; User: JDreben
Got it! Silly mistake. I should have used compareTo instead of ==. My current issue is that I need to use BigIntegers in the conditions of the for loop, is that not allowed? Because my method seems...
Hey, so I'm trying to make a method that checks if a BigInteger is prime, but I'm running into an issue in doing the modulus. Below is the whole method.
public static boolean...