The program is exiting when I did not enter "y" in "while" part. Please help me to reject when the user input is not "y"
try{ Bu