code not doing what I want!?

if I take out the prompt for user to answer this and I type true or
false this works... If user is prompted to answer true or false this
does not work???