Solved

Consider the Following Visual Basic

Question 5

Multiple Choice

Consider the following Visual Basic .NET code: Dim unitsReceived as Integer, totalCost as Single, cost as String totalCost=0 unitsReceived=0 cost = InputBox("Enter item cost (without $ or comma) , click Cancel when finished", "Data Entry") Do While cost "" unitsReceived = unitsReceived + 1 totalCost = totalCost + val(cost) cost = InputBox("Enter item cost (without $ or comma) , click Cancel when finished", "Data Entry") Loop The above code represents a ____ loop example.


A) posttest
B) firsttest
C) pretest
D) secondarytest

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions