You are given two strings representing the first name and the
surname of a person. The first name is separated from the surname by a
single ':' character. The end of the surname is indicated by a second
':' character.
Both the first name and the surname will have at least one character,
and each will have at most 100 characters.
You must output the properly capitalized version of the first name and
the surname. The first letter of the first name and the first letter
of the surname must be capitalized. All other letters must be small
letters. You must separate the first name from the surname by a ':'
and also terminate the surname with a ':'.
Sample Input 1
--------------
joHn:SMITH:
Sample Output 1
---------------
John:Smith:
Sample Input 2
--------------
jAne:Doe:
Sample Output 2
---------------
Jane:Doe:
Answers
Answered by
0
Answer: what is this
Explanation:
Similar questions
Computer Science,
2 months ago
Physics,
2 months ago
English,
5 months ago
English,
11 months ago
Math,
11 months ago