n%2=0; //this is the remainder sign n/2; // this is division sign
if ((a % 2) == 0) { isEven = true; } else { isEven = false; }