Given an array of characters which is basically a sentence. However there is no space between different words and the first letter of every word is in uppercase. You need to print this sentence after following amendments:
(i) Put a single space between these words
(ii) Convert the uppercase letters to lowercase.
The first line of input contains the number of test cases. The description of T test case follows.
Each test case contains a single line containing a string.
Print the desired Sentence.
1<=Size of String <=100
bruce wayne is batman
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.