This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtNumbers) holds a comma-separated list of whole numbers; a button (btnCount) and a memo (memResult) are already on the form. Write btnCount's OnClick handler so that it counts how many numbers in the list are even and how many are odd, and shows both counts in memResult.
No input/output in the console sense. Grading sets edtNumbers.Text, clicks btnCount once, then checks memResult.Text. Format (two lines): Even numbers: <n> Odd numbers: <n> Example: '3,4,7,8,10,15' -> 3 even, 3 odd.
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