Question: C++ only please. A 3-character string, userCode, is read from input. Replace each alphabetic character in userCode with *, Otherwise, userCode is not changed. Ex.

C++ only please.
C++ only please. A 3-character string, userCode, is read from input. Replace

A 3-character string, userCode, is read from input. Replace each alphabetic character in userCode with *", Otherwise, userCode is not changed. Ex. If the input is y48, then the output is: 48123456789101112131415#includeusingnamespacestd;intmaino{stringuserCode;getline(cin,userCode);coutuserCodeendl;return0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!