for (i = 0; i < attempts; ++i)
{
cout << “Please enter your password: ”;
cin >> password;
if (Verify(password)) //check password for correctness
break; //drop out of the loop
cout << “Incorrect!\n”:
}
continue Statement << Previous
Next >> Functions
Our aim is to provide information to the knowledge seekers.