Lab: Password Verifier
Imagine you are developing a software package that requires users to enter their own password. Your software requires that all users' passwords meet the following criteria:
1. Password should be at least 8 characters long
2. It should contain at least one of the following symbols: #,$ or _
3. It should not contain digits, only letters or symbols like shown
in 2
a) Write a method isValidPassword with the following prototype:
isValidPassword(StringBuilder str): bool that returns whether or not a StringBuilder object is a valid password.
b) Test your method in main().