Why does my cmd show me number "5" only after I give a respnose

Here I have two questions:

First qustion:Number “5” shows only when I give a response

Second question: In previous lecture, I tried to transfer my code:"std::cout << “Your Guess was: " << Guess << std::endl;”. But the result was that the console showed my response only after second attempt

Untitled

here is my code
https://pastebin.com/AYZeLnyz

Privacy & Terms