C++ please
Read in a 3-character string from input into variable passwordStr. Declare a boolean variable isValid and set isValid to true if passwordStr only contains alphabetic characters. Otherwise, set isValid to false.
Ex: If the input is dpm, then the output is:
Password is valid
Note: Use getline(cin, passwordStr) to read the entire line from input into passwordStr.