This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtText) holds a sentence; a button (btnCount) and a label (lblResult) are already on the form. Write btnCount's OnClick handler so that it counts how many vowels (a, e, i, o, u — either case) appear in the sentence and shows the count on lblResult.
No input/output in the console sense. Grading sets edtText.Text, clicks btnCount once, then checks lblResult.Caption. Format: 'Vowels: <n>'. Example: 'Hello World' -> 'Vowels: 3'.
4 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