What will be displayed when the button is clicked?
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim num As Double = 9
Dim sqrRoot As Double
If num < 0 Then
MessageBox.Show("Cannot find square root. Result set to zero.", "Error")
sqrRoot = 0
Else
sqrRoot = Math.Sqrt(Num)
End If
txtBox.Text = CStr(sqrRoot)
End Sub```
```
(A) 0
(B) 3
(C) 6
(D) An error will occur.
(B) 3
Computer Science & Information Technology