Solved

What Will Be the Output of the Following Program When x,y,zx , y , z

Question 46

Multiple Choice

What will be the output of the following program when the button is clicked? Private Sub btnDisplay_Click(...) Handles btnDisplay.Click

Dim x,y,zx , y , z As Double
x=3x = 3
y=3y = 3
If x>yx > y Then
z=x+y\quad z = x + y
Else
z=yx\quad z = y - x
End If
txtBox. Text = CStr (z) ( z )
End Sub


A) 6
B) 3
C) 0
D) No output

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions