156
234
180
270
Answer is Wrong!
Answer is Right!
The correct answer is C. 180.
The code is:
If intnumber<=100 Then
Intnumber=intnumber*2;
Else
Intnumber=intnumber*3;
EndIf
If the value of the variable intnumber
is 90, then the condition intnumber<=100
is true, so the statement Intnumber=intnumber*2
is executed. This statement multiplies the value of intnumber
by 2, so the value of intnumber
becomes 180.
The other options are incorrect because they do not reflect the value of intnumber
after the code is executed.