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
Get step-by-step solutions from verified subject matter experts
