This is a form-based problem — open it in the Form Designer, not the code judge. A combo box (cmbNames) lists the names of learners going on an excursion; a checkbox (chbPaid), a button (btnAdd) and two memos (redPaid, redNotPaid) are already on the form. Write btnAdd's OnClick handler so that it takes the name currently selected in cmbNames and adds it to redPaid if chbPaid is checked, or to redNotPaid otherwise — then removes that name from cmbNames so it can't be added twice.
No input/output in the console sense. Grading selects a name in cmbNames (setting both its ItemIndex and Text, the way a real dropdown selection would), sets chbPaid, clicks btnAdd once, then checks redPaid/redNotPaid.Text and cmbNames.Items.Count. cmbNames starts with 8 names: Andrew, Carla, Isa, Ismail, Nadia, Nicole, Thepo, William.
8 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