Question: 10. (Microsoft Visual Basic) In analyzing the solution to a program, you conclude that you want to construct a loop so that the loop terminates

10. (Microsoft Visual Basic)

In analyzing the solution to a program,

you conclude that you want to construct a loop

so that the loop terminates either when (a < 12) or (b = 16).

(It implies we want the loop to continue while (a >=12) and (b <>16) )

Using a Do loop, the test condition should be ___________________________.

Do While (a > 12) Or (b <> 16)

Do While (a >= 12) Or (b <> 16)

Do While (a < 12) Or (b <> 16)

Do While (a >= 12) And (b <> 16)

Do While (a < 12) And (b = 16)

None is a correct answer.

(Microsoft Visual Basic)

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!