Question: Use the following If . . . Then...Else block to answer questions 1 through 3 . Dim shoIndex, shoHowMuch as Short If shoIndex < 5

Use the following If...Then...Else block to answer questions 1 through 3.
Dim shoIndex, shoHowMuch as Short
If shoIndex <5 Then
shoHowMuch = shoIndex +1
ElseIf shoIndex =5 Then
shoHowMuch = shoHowMuch -5
Else
shoIndex = shoHowMuch +3
End If
1. If shoIndex has a value of 1 and shoHowMuch has a value of 0, what will the values of shoIndex and shoHowMuch be after this code executed?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!