/* Description: To delete alternate characters in a string Approach: To iterate over string and append the alternate characters in the output string */ #include #include using namespace std; //function string delAlternate(string S) { // declaring an output string string r; //iterating over string and incrementing i by 2 to take alternate characters for(int i=0;i>s; cout<