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 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
