Question: This is all in C++, I need to write these functions, I have the tests in a seperate file so obviously I do not need
This is all in C++, I need to write these functions, I have the tests in a seperate file so obviously I do not need the int run/main. Just need the actual function that will make this work. Thanks

zipZap(str) removes the middle letters from all "zip" or "zap" strings. Eparam str the input string ereturn Look for patterns like "zip" and "zap" in the input string: any substring of length 3 that starts with "z" and ends with "p Return a string where for all such words, the middle letter is gone, so "zipXzap" returns "zpXzp" ul>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
