Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions