What will be the value of dblSum after the button btnAdd is clicked, assuming that 25 is entered by the user into txtNum1, and 35 is entered into txtNum2?

```
Private Sub btnAdd_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnAdd.Click

Dim dblNum1, dblNum2, dblSum As Double
dblNum1 = CDbl(txtNum1.Text)
dblNum2 = CDbl(txtNum2.Text)
dblSum = Sum(dblNum1, dblNum2)
lblSum.Text = dblSum.ToString()

End Sub

Function Sum(ByVal dblNum1 As Double, ByVal dblNum2 As Double) as Double
Return dblNum1 + dblNum2
End Function
```

a. 60
b. 50
c. 0
d. 70


a. 60

Computer Science & Information Technology

You might also like to view...

The __________ approach means that the operating system allocates the processor to a process and when the process blocks or is preempted, feeds it back into one of several priority queues.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following control structures requires curly braces?

a) if-else b) While c) do-while d) switch e) for

Computer Science & Information Technology

A circular arrow above a selected picture is the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Compare a network-based firewall to a host-based firewall.

What will be an ideal response?

Computer Science & Information Technology