VB



Button Verify Click Pseudocode
Loop through the digit in the PIN until there are no more digits or an invalid digit is found
   If the current digit is valid
      Increment the counter variable
  Else
      Display a message to the user indicating that the digit is invalid
  End If
Loop
If validPIN then
   Display a message to the user indicating that the PIN is valid
End If
Sample Data Run
Data entered before Verify Button is clicked