This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtScores) holds a comma-separated list of test scores, e.g. '60,75,82,90,55'; a button (btnCalculate) and a label (lblResult) are already on the form. Write btnCalculate's OnClick handler so that it splits the list on the commas, adds up the scores, and shows the average on lblResult, rounded to one decimal place.
No input/output in the console sense. Grading sets edtScores.Text to a comma-separated list of whole numbers, clicks btnCalculate once, then checks lblResult.Caption. Format: 'Average: <n>', with the average rounded to one decimal place. Example: '60,75,82,90,55' produces 'Average: 72.4'.
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