"-Must not contain the word 'and' or the word 'end'") "-Must contain at least 1 special character from the set: '\n' "-Must contain at least 1 numeric digit" '\n' "-Must contain at least 1 upper case character" '\n' "-Must contain at least 1 lower case character" '\n' ("-Must be at least 8 characters long" '\n' ("Enter a password that meets the following rules: ") The problem I have, is not an error message, but I always get a positive response, plus all the violated rules, plus it reads them twice. If invalid, it must show "invalid" plus the rule that it has shown as false. I am trying to complete my programming assignment, I have to create a "Password verifier" that has 1 uppercase, 1 lowercase, 1 number, and 1 special character.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |