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

Code:
If intnumber<=100 Then
   Intnumber=intnumber*2;
Else
   Intnumber=intnumber*3;
EndIf
  • (A) 180
  • (B) 330
  • (C) 156
  • (D) 270
πŸ’¬ Discuss
βœ… Correct Answer: (B) 330

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sonali Mishra
Publisher
πŸ“ˆ
98%
Success Rate