A password is valid if it has:- at least 10 characters- one or more letters, with at least one upper case letter- one or more digits- at least one special character from the set { @, #, &, *, _, - }
Write a complete C++ program that displays the rules of a valid password, and then asks the user to enter a password. Then, it checks the user-entered password to see if it is valid according to the rules. If it is invalid, the program should display an error message and prompt the user to re-enter a password. Repeat this process until the user enters a valid password.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here