Is there an easy way to compare three variables or more for equality, and inequality? Let me explain.
I am testing to see if x, y, and z are all equal, and none of them equal to a (part in italics).Code:if((x == y) && (y == z) && z != a) {
//code
}