This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtSentence) holds a sentence; a button (btnTitleCase) and a memo (redOutput) are already on the form. Write btnTitleCase's OnClick handler so that it splits the sentence into words, capitalises the first letter of each word, and displays each one on its own line in redOutput.
No input/output in the console sense. Grading sets edtSentence.Text, clicks btnTitleCase once, then checks redOutput.Text. Example: 'unlock the power of technology and ignite innovation' produces eight lines: 'Unlock', 'The', 'Power', 'Of', 'Technology', 'And', 'Ignite', 'Innovation'.
5 components · drag to move, corner handle to resize, Delete to remove
Object Inspector
Select a component on the form to edit its properties.
Palette
Pick a component, then click the form
Standard
Additional
Data
Non-visual