Given a string S, write a program to title case every first letter of words in string.
The first line consists of an integer T i.e number of test cases. T testcases follow. The first and only line of each test case consists of a string S.
For each testcase, in a new line, print the required output.
1 <= T <= 100
1 <= |S| <= 1000
I love programming
I Love Programming
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.