A more detailed description is attached:
Write a program that reads in a line consisting of a student’s name, Social Security number, user ID, and password. The program outputs the string in which all the digits of the Social Security number and all the characters in the password are replaced byx. (The Social Security number is in the form XXXXXXXXXX, and the user ID and the password do not contain any spaces.) Your program should not use the operator[]to access a string element. Use the appropriate functions described inTable 7-1below.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here