The file must be called
Example: DeweyKenProg5.java
Ensure you include ALL files required to make your program compile and run.
I would like to see your .java files only.
Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.
5%
Main Method
Implement a program that reads in a user password and verifies it meets the following criteria:
Is atleast 8 characters long
Contains atleast 1 lower letter character
Contains atleast 1 upper letter character
Contains atleast 1 numeric digit
Contains atleast 1 special character from the set: !@#$%^&*
Does not contain the word "and" or the word "end"
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%
Upload your page to the Drop Box.
NOTE: Complete your activity and submit it to the Drop Box.
Comments / Flow Chart / Pseudocode / Style
Comments are REQUIRED; flow charts and Pseudocode are NOT REQUIRED.
Proper coding style is REQUIRED. Refer to the JavaCodingStyle.doc for more information.
10%
Total Points
100%
Sample Output:
Password Verifier
Enter a password that meets the following rules:
Password1
Invalid
Missing a special character
-----------------------------------------------------------------
Password Verifier
Enter a password that meets the following rules:
Panda123$
Invalid
Contains the string "and"
-----------------------------------------------------------------
Password Verifier
Enter a password that meets the following rules:
Hi
Invalid
Must be at least 8 characters long
Must contain a numeric digit
Must contain a special character
-----------------------------------------------------------------
Password Verifier
Enter a password that meets the following rules:
Pa$word1
Valid