That is not how to compare multiple values in Java. What that code does is assign x the value of y, then checks to make sure that x is not equal to z.

You need to use the logical or operator || to...