Hey please can you help me
basically im learning c++ and i admit im crap at it.
anyway this is just a program which i makeing while i learn c++
its has a menu of all games and examples of c++ ive done
but theres a login and if the user enters a wrong pass
i want them to havethe option to go back to the login.

//variable with the answer
do
{
// try if password is correct.
// ask if the user want to try another time.
}while (answer == Yes); //If is correct the loop executes.
//If is not correct continues here.
//In the while test, you can put another condition that ends it when the password is corret:
while ((answer == Yes) || (password == correct));