Answered You can hire a professional tutor to get the answer.

QUESTION

How many times will the loop shown below be executed?

How many times will the loop shown below be executed?Dim intQuantitySold As IntegerDim decTax As DecimalintQuantitySold = 1Do Until intQuantitySold = 5decTax = intQuantitySold * 0.07lstDisplay.Items.Add("Tax Amount: " & decTax.ToString())intQuantitySold += 1Loop

Since the value of the variable intQuantitySold starts from 1 and increments by 1 in every iteration, until the value reaches 5, the loop is executed 4 times, i.e when intQuantitySold = 1, when...
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question