Write a c program that asks for a password and then


Imagine you are developing a software package that requires user to enter their own passwords. Your software requires that user passwords meet the following criteria:

. The password should be at least six characters long.

. The password should contain at least one uppercase and at least one lowercase letter.

. The password should have at least one digit.

Write a C++ program that asks for a password and then verifies that it meets the stated criteria. If it does not, the program should display a message telling the user why.

Example of it should be:

Atleast 6 characters long
At least one uppercase characters
At least one lowercase letter
At least one numeric digit
Enter a password

And if is correct it should say: the password is valid.
And is not correct it should say: the password is not valid.

Press any key to continue....

 

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write a c program that asks for a password and then
Reference No:- TGS01245683

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)