#C9. Title Case Conversion
Title Case Conversion
Title Case Conversion
You are given a list of strings. Your task is to convert each string into title case. In title case, the first letter of each word is in uppercase and the remaining letters are in lowercase.
The conversion should be done for each word in the string. For example, "hello world" should become "Hello World".
This problem is a simple exercise in string manipulation and handling input/output from the standard streams.
inputFormat
The input is read from standard input (stdin) and is structured as follows:
- The first line contains an integer N, the number of strings.
- The following N lines each contain a string which may include letters and spaces.
outputFormat
For each input string, output a line containing the converted title case string to standard output (stdout).
## sample1
hello
Hello
</p>