Hi guys I need help on the code for this problem with using string. Can someone give me the answer to this problem and on how you do it with explanation but most improtantly the answer. Thank you
Method unscramble returns a version of String str with each pair of adjacent characters swapped. If the length of str is odd, the last character is left alone....
unscramble("eHllWorodl") → "HelloWorld"
unscramble("oCidgnsIuFn") → "CodingIsFun"
unscramble("nad") → "and"