The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.
9.4m questions
12.1m answers