I have to make a while loop without update (the ++ or -- process) as below. However, after storing the response from the user (Y) in ans variable, the loop is not executing.