Data source: http://rosettacode.org/wiki/Keyboard_input/Obtain_a_Y_or_N_response
