Question: C++ Code Exercise A Imagine you are developing a software package that requires users to enter their own passwords. Your software requires that users' passwords
C++ Code
Exercise A
Imagine you are developing a software package that requires users to enter their own passwords. Your software requires that users' passwords meet the following criteria:
1. The password should be at least six character long.
2. The password should contain at least one uppercase letter.
3. The password should contain at least one lowercase letter.
4. The password should have at least one digit.
Write a program that asks the user for a password and then verifies that it meets ALL the stated criteria. If it doesn't, the program should display a message telling the user what criteria is missing.
In either case, your program must loop as long as user enters..Y/y/yes/Yes. Not case sensitive. (Other than yes in any form, should be considered as no and your program should terminate).
NOTE: For criteria #1 do not forget to validate user input using the length of the string NOT the size.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
