Page 1 of 1

Write a program that reads in a line consisting of a student’s name, Social Security number, user ID, and password. The

Posted: Tue Jul 12, 2022 8:16 am
by answerhappygod
Write a program that reads in a line consisting of a student’sname, Social Security number, user ID, and password. The programoutputs the string in which all the digits of the Social Securitynumber and all the characters in the password are replacedby x. (The Social Security number is in theform 000-00-0000, and the user ID and the password do notcontain any spaces.) Your program should not use theoperator [] to access a string element. Use theappropriate functions described in Table7-1 below.