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. 156

B. 270

C. 180

D. 330

Answer: Option D


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic