Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 566 Bytes

File metadata and controls

27 lines (21 loc) · 566 Bytes

Capitalize Words

Challenge Description:

Write a program which capitalizes the first letter of each word in a sentence.

Input sample:

Your program should accept as its first argument a path to a filename. Input example is the following

Hello world
javaScript language
a letter
1st thing

Output sample:

Print capitalized words in the following way.

Hello World
JavaScript Language
A Letter
1st Thing