Below is the code for a java programming class I am writing. I cannot figure out why it always prints it is a prime number (true) reguardless of the int I input. Thank you in advance. Jared 

```
import java.util.*;
public class PrimeNumbersExample
{
public static void main(String[] args)
{
    int myInt = 0;
    Scanner kb = new Scanner(System.in);
    System.out.println("Please enter a number: ");
    myInt = kb.nextInt();
    boolean isPrime = true;
    {
        for (int i = 2; i < myInt; i++) // exclude 1 and the variable num from the diviso
            if (myInt % i == 0)
                isPrime = false;
    }
        if (isPrime=true)
            System.out.println("It is a Prime number.");
        else if (isPrime=false)
            System.out.println("the number is NOT PRIME");
}

```

}