add

CF

String – Reverse Vowels

Given a string S, reverse only the vowels in the string S and print the resultant string R as the output. The consonants must maintain their…