The Scanner class's nextBoolean method does like what was entered. Perhaps you should read in a String and compare it vs requiring the user to Enter true or false.

Try debugging your code by...