Given a string, reverse only the vowels present in it and print the resulting string.
Input: First line of the input file contains an integer T denoting the number of test cases. Then T test cases follow. Each test case has a single line containing a string.
Output: Corresponding to each test case, output the string with vowels reversed.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.