Question: It is C++ Maybe use getline() take all value but it has to be looping until it typed valid. Write a program to let the

 It is C++ Maybe use getline() take all value but it

has to be looping until it typed valid. Write a program to

It is C++ Maybe use getline() take all value but it has to be looping until it typed valid.

Write a program to let the user enter possible passwords until they enter one that is valid. A password is valid if it has 3 or more capital letters, 2 or more digits, and no spaces. You should write and use a function "bool isValidPW(string p)" to determine if a single password p is valid (return will be true iff p is valid). Run this lab in submit mode to see exact output form. AGTVITY 1.13.1: Password Checker (for Feb 6) LAB main.cpp 1 #include 4 using namespace std; 6 int main) 8 cout

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!