Question: C++ : Write a program that prompts the user to enter a line of text (including whitespace). The program then replaces the following vocals with
C++ :
Write a program that prompts the user to enter a line of text (including whitespace). The program then replaces the following vocals with numbers: a = 1, e = 2, i = 3, o = 4, u = 5 and outputs the result to the console. The program does not consider case, so a = 1, A = 1, e = 2, E = 2, etc.
Example: Input: Hello, how are you? Output: H2ll4, h4w 1r2 y45?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
