Question: Here is my current C++ code. I am getting an error and it will not compile. It needs to look like the screen shots below.
Here is my current C++ code. I am getting an error and it will not compile. It needs to look like the screen shots below. I need to be able to re-enter a password and it needs to continue to loop until a correct password combination has been entered.
This is the error I am getting:

#include
void validatePassword(string str) {
bool uF=false, lF=false, dF=false, flag = true; if (str.length()
for (int i = 0; i = 'A' && str[i] = 'a' && str[i] = '0' && str[i]
int main() { cout > str; if (validatePassword(str)) { cout

int main() cout > str; if (validatePassword(str) | { cout > str; if (validatePassword(str) | { cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
