QUESTION

C++ A website requires that passwords only contain alphabetic characters. For each character in secretStr that is not an alphabetic character, replace the character with 'x'. Ex: If the input is pk8WK, then the output is: Updated password: pkxWK Note: isalpha() returns true if a character is alphabetic, and false otherwise. Ex: isalpha('a') returns true. isalpha('8') returns false

Public Answer

A9D0JH The First Answerer