Question: Write a program that will read a string, call 2 functions to modify the string, and then print the final result. The first function should
Write a program that will read a string, call 2 functions to modify the string, and then print the final result.
The first function should take a string parameter and return the string without any vowels.
The second function should take a string and double every letter (which should be all consonants at this point).
Be sure to:
You must use more than [ ] and at
You must use erase, insert, replace, find, and/or substr to make a new string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
