Write a program that works with a user's password. The program should prompt the user for a possible password. Your program should check to be sure this is a 'good' password. Specifically, a good password is one that has:
Continue to prompt the user for a password until these criteria are met. Once the user enters a 'good' password, prompt them to enter it again until the two passwords match.
Please note the way you'll write this program, the user will be able to see the characters that they type. While you wouldn't want to do this in practice, it's ok for our exercise here.
Be sure your program demonstrates good programming style (appropriate comments, identifier names, indenting, etc).
Although your output is not required to look this way, your output might look something like:
Please enter a possible password: password1
This is a good password. Please retype the password to confirm: password1
Your passwords match. Congratulations!
Another possible run of this program might look something like:
Please enter a possible password: me
This is not a good password. Please try again.
Please enter a possible password: meandyou2
This is a good password. Please retype the password to confirm:
meandyoutoo
This doesn't match your first entry. Please try again:
Please retype the password to confirm: meandyou
This doesn't match your first enter. Please try again:
Please retype the password to confirm: meandyou2
Your passwords match. Congratulations!