Question: This is the assignment, need to be programmed in C++ using the isupper, islower, ... ect funcitons. Below i have written what i have done

This is the assignment, need to be programmed in C++ using the isupper, islower, ... ect funcitons. Below i have written what i have done so far but i need help finishing the program.

 This is the assignment, need to be programmed in C++ using

#include #include #include #include

using namespace std;

bool validPass(string);

int main() { // char password[]; std::string pass = ""; cout

bool validPass(string password) { int length; length = password.length(); //split into 4 different functions and pass in string if (length>=8) { for (int count=0; count

for (int count=0; count

} }

Passwords, if weak, can be easy to guess or crack. That is why most secure systems force users to choose passwords that are hard to guess. You are asked to write a password verifier that enforces the following rules: The password should be at least 8 characters long. The password should at least have one uppercase and one lowercase. The password should have at least one special character. The password should have at least one digit. The following requirements should be also implemented - Your program should allow the user to enter a password of any length'character list,and then verify that these eriteria are met. If password criteria are met, the program should indicate that the password is valid. Otherwise, it should tel the users what are ALL the rules that the chosen password fails to adhere to. length/character list, and then verify that these criteria are met In case the entered password is wrong, the program should not exit, but rather give the user the chance to enter a new password to be verified

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!