an OR means if its either of those two options. since you used a not, then its a fail if either of those are not exactly equal to user input. != "Apple" fails if the input is "apple". it would be better to convert the user input to all lowercase, and then compare that against "apple"