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.
5.1m questions
6.7m answers