Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
#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 verifiedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started