0
Please im new hear how can i creat a loop that will require the user to keep inputting a password till he types what i want
like a password that will require the user input to get it
2 Réponses
0
You can use the infinite loop, and in it Check if the given password is correct you leave the loops
The loop should look like this
while(true) {
userPassword
if(user Password = entryPassword) {
break;
}
}
0
thanks