Write a program that reads in a line consisting of a student’s name, Social Security number, user ID, and password. The
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a program that reads in a line consisting of a student’s name, Social Security number, user ID, and password. The
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.