Wouldn't it be nicer to use a do-while here? It would mean that you had to write "Please answer y/n" every time, but it might not be so bad.