#P164. 统一信息格式

统一信息格式

题目描述

给定 N(1N100)N(1 ≤ N ≤ 100) 行文本信息,每行的文本长度不超过 5050,现需要对文本信息进行格式的统一,要求每行文本信息中第一个字符如果是字母则需要设置为大写,其余字母必须为小写,文本信息中可能存在空格。

6
where there's A will, there's a Way
123GO
Every cloud has a silver lining
chinese RestauRant
Actions speaK louder than words
Better late than never
Where there's a will, there's a way
123go
Every cloud has a silver lining
Chinese restaurant
Actions speak louder than words
Better late than never