Question: Using C++: (1) Get a single word of input from the user. Output the word. If the word contains certain characters, use a loop of

Using C++:

(1) Get a single word of input from the user. Output the word. If the word contains certain characters, use a loop of your choosing to replace them with the corresponding symbols or numbers.

Ex. Enter word: sixteen You entered: sixteen New word: $!*t33n You should support these characters:

a -- @

e -- 3

i -- !

g -- 9

s -- $

x -- *

If your word does not contain any of the above characters, just print the original word again

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!