This is how I would loop a program according to whether or not the user wants to.
The code would be, for example, a quadratic equation solver. So if "again" is yes or whatever then the program has obviously been through once so the screen is cleared. Then "again" is set to nothing, the code executes and the user is asked again whether or not they want to restart.
I can't help but feel there must be a better way to do this. So, is there? I don't have a problem with this code because it works and that's all that matters really for simple console window programs, I'm just wondering.