Question: Question 2 ( 3 0 points ) : Create a C + + program that prompts the user to create a password. The password must
Question points: Create a C program that prompts the user to create a password. The password
must be at least characters long and must contain at least one uppercase letter, one lowercase letter, and
one digit. Use a dowhile 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: Password
Password accepted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
