If you read user input as a String you can use the equalsIgnoreCase method.