Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/passwordverify/
- Implement a program that uses the Scanner to read a user password and verifies it
- meets the following criteria:
- •
- Is at least 7 characters long
- •
- Contains at least 1 lower letter character
- •
- Contains at least 1 upper letter character
- •
- Contains at least 1 numeric digit
- •
- Contains at least 1 special character from the set: !@#$%^&*
- •
- Does not contain the String “text” or the String “book”
- Output a string that prompts the user for a password and include the requirements
- above in your output.
- Output a string that states valid or invalid. If invalid, state which rule above has not
- been met.
- Utilize the following functionality:
- •
- indexOf
- •
- Looping structure
- •
- charAt()
- •
- isDigit()
- •
- isUpperCase()
- •
- isLowerCase()
- •
- and any additional functionality needed.
- 85%
- Download: http://solutionzip.com/downloads/passwordverify/
Add Comment
Please, Sign In to add comment