Problem #846 CORE JAVA PROGRAMMING

Write a C++ method to check whether a string is a valid password.

Your Solution