hi all, i have written a program , where one choice Y or N is to be given by the user ,now if the user does not enter y/n and simply pressed the enter key how do i detect it(which is like entering nothing/blank line) thanxranbir.