Write a recursive function void reverse() that reverses a sentence.
Sentence greeting = new Sentence("Hello!")
cout « greeting.get_text() «"\n";
Prints the string "!olleH". Implement a recursive solution by removing the first character, reversing a sentence consisting of the remaining text, and combining the two.