Question: Design and implement a Java program (name if PasswordTest) that accepts a string from the user and evaluates it as a password, giving it a
Design and implement a Java program (name if PasswordTest) that accepts a string from the user and evaluates it as a password, giving it a valid or invalid verdict. The program must use a loop to parse the password string. A good password will be at least 8 characters and includes at least one lower-case letter, at least one upper-case letter, at least one digit, and at least one character that is neither a letter nor a digit. Your program will need to check each character in the string in order to render a verdict. For example, CS1301/01 is invalid password. The program should display the entered password and the programs Judgment on it.
For example,
Entered Password: ITEC 2140/07
Verdict: Invalid
Document your code, and organize and space out your outputs as shown. Design your program such that it allows the user to re-run the program with a different inputs in the same run.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
