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 (btnFind) and a label (lblResult) are already on the form. Write btnFind's OnClick handler so that it works through the list and finds the largest value.
No input/output in the console sense. Grading sets edtNumbers.Text, clicks btnFind once, then checks lblResult.Caption. Format: 'Largest: <n>'. Example: '12,45,3,89,22' -> 'Largest: 89'.
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