Java Convert String to LowerCase
School Accuracy: 53.19% Submissions: 5223 Points: 0

Given a string S. The task is to convert characters of string to lowercase.

Note: toLowerCase() method converts all characters of the string into lowercase letter.

Input : 
The first line of input contains a single integer T, denoting the number of test cases. For each testcase there will be only one line containing string S which consists of uppercase or lowercase english alphabets.

Output : 
For each testcase in new line, print the string in lowercase.

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

Example : 
Input : 

2
ABCddE
LMNOppQQ

Output : 
abcdde
lmnoppqq

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.