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 This is all in C++, I need to write these functions,

I have the tests in a seperate file so obviously I do

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>

  • zipZapC"zipXzap returns "zpXzp
  • zipZapC"zopzop") returns "zpzp"
  • zipZap("zzzopzop") returns "zzzpzp" std::string zipZap(const std::string& str)
  • 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!