Question: write a program that validates the password complexity forall users. The password must meet the following complexity requirements: Length - at least 12 characters At

write a program that validates the password complexity forall users. The password must meet the following complexity requirements:

Length - at least 12 characters

At least 3 uppercase letters

At least 5lowercase letters

At least 2 digits

The program should prompt the user to enter their password. If the password does not meet the complexity requirements you should show the words "Invalid password, please try again!" and re-prompt the user to enter another password. If the password meets the complexity requirements you should display the words "Congratulations, you have created a strong password!"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!