Question: Question 2 ( 3 0 points ) : Create a C + + program that prompts the user to create a password. The password must

Question 2(30 points): Create a C++ program that prompts the user to create a password. The password
must be at least 8 characters long and must contain at least one uppercase letter, one lowercase letter, and
one digit. Use a do-while loop to ensure the user is repeatedly asked to enter a valid password until the
criteria are met.
Example Output:
Enter a password: pass
Password entered is too short and must contain at least one uppercase letter and one digit.
Enter a password: Password1
Password accepted.
Question 2 ( 3 0 points ) : Create a C + +

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!