Question: It is C++ assignment. please explain ur code too. Password Validation Lab Using C-strings, write a program that verifies that passwords satisfy the following criteria:

It is C++ assignment. please explain ur code too.

 It is C++ assignment. please explain ur code too. Password Validation

Password Validation Lab Using C-strings, write a program that verifies that passwords satisfy the following criteria: 1) 2) 3) At least eight characters long Contains at least one numeric digit Contains at least one upper case and at least one lower case letter Contains at least one of these special characters: l@#$%: ; Test each criterion in a separate function. Your program should input a string and determine if it satisfies these criteria. If the password fails, the program should display a message indicating why. Would this be easier or harder with C++ strings? Challenge Extend your program to store several passwords using an array of C-strings. Hard-code four test passwords, illustrating each of the four error conditions, and a fifth password without errors

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 Databases Questions!