Please enter your email address or userHandle.
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
We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?
Login to access your submissions.
Please choose 'ReadOnlyMode' if you needn't to 'Edit' the problem e.g. viewing OJ's solution, TestCase Files (TCFs), TimeLimit etc.