What will be the output of the following program when the button is clicked on?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim num As Integer = 10
DisplayMult(num)
num = 5
DisplayMult(num)
num = 2
DisplayMult(num)
End Sub
Sub DisplayMult(num As Integer)
If num <= 3 Then
txtOutput.Text &= CStr(3 * num)
Else
If num > 7 Then
txtOutput.Text &= CStr(7 * num)
End If
End If
End Sub
```
(A) 7014
(B) 30614
(C) 706
(D) No output


(C) 706

Computer Science & Information Technology

You might also like to view...

Under MVS, the __________ holds system constants and pointers to most of the key control blocks.

a. task control block b. request block c. stack d. communication vector table

Computer Science & Information Technology

What kind of output is desirable if many readers will be reading, storing, and reviewing output over a period of years?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is NOT one of the fundamental data types in C++.

A. int B. char C. float D. string

Computer Science & Information Technology

With C#, you have single inheritance, but a class can ____________ multiple interfaces.

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

Computer Science & Information Technology