Examveda

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

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

A. 156

B. 234

C. 180

D. 270

Answer: Option C


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic