Upper case conversion
Submissions: 9741   Accuracy:

29.24%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Given a string S, write a program to title case every first letter of words in string.

Input:
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

Output:
For each testcase, in a new line, print the required output.

Constraints: 
1 <= T <= 100
1 <= |S| <= 1000

Example:
Input:

1
I love programming

Output:
I Love Programming

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: Saksham Ashtputre
Author: support3


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.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.