Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 #includeStep 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