Pergunta de entrevista da empresa J.P. Morgan

Program to Capitalize the first letter of each word in a given string.