Answer:
Is provided in the attached screenshot!
Step-by-step explanation:
Steps taken:
1) Take input sentence and make it all lowercase
2) Split input sentence into separate words and store in an array
3) Go through each word and replace the first letter with the capital version of the letter
4) Combine each word back into a sentence.
5) Return the sentence