The '!=' operator is the "not equal" operator. Basically, what is happening is this: while (input is not equal to 'x' AND input is not equal to 'y')
enter the input
Except he has used the toupper function to capitalize the input, so you don't have to check for both lowercase and uppercase characters.