Examveda

What will be the output of the following Visual Basic code, If the intnumber variable is 110?

If intnumber<=100 Then
   Intnumber=intnumber*2;
Else
   Intnumber=intnumber*3;
EndIf

A. 180

B. 330

C. 156

D. 270

Answer: Option B


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic