Question: /* Write a recursive method that takes a string as a parameter. It returns a string composed of itself, and a mirror image of itself(reversed),
/* Write a recursive method that takes a string as a parameter. It returns a string composed of itself, and a mirror image of itself(reversed), seperated by a hyphen. Complete this function without the aid of a helper function and without the usage of the string classes reverse method. */
string mirrorString(string s);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
