This is a form-based problem — open it in the Form Designer, not the code judge. An edit box (edtPassword) holds a candidate password; a button (btnCheck) and a label (lblResult) are already on the form. Write btnCheck's OnClick handler so that it decides whether the password is strong: at least 8 characters long AND containing at least one digit.
No input/output in the console sense. Grading sets edtPassword.Text, clicks btnCheck once, then checks lblResult.Caption. Format: 'Strong password' or 'Weak password'. Examples: 'Password1' (9 characters, has a digit) -> 'Strong password' 'abc' (too short) -> 'Weak password'
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