Question: in Visual basic 10.what is the output? sub button_clicko Dim A() as integer ={ 1,2,5,8,1,18,5,9,7,10,20,30,40,50,60} dim s = 0 for i as integer = 0
in Visual basic
10.what is the output? sub button_clicko Dim A() as integer ={ 1,2,5,8,1,18,5,9,7,10,20,30,40,50,60} dim s = 0 for i as integer = 0 to 14 if a(i) mod 2 0 and i > 2 then S = 5 + a(i) endif next MsgBox("sum =" & s) end sub * Enter your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
