Solved

What Is the Difference in the Execution of the Do

Question 8

Multiple Choice

What is the difference in the execution of the Do Until Loop (first example) and the Do Loop Until (second example) ? '
First Example:
SngPayAmount = 200
Do Until sngPayAmount > 150
SngPayAmount = sngPayAmount - 50
Loop


'Second Example:
SngPayAmount = 200
Do
SngPayAmount = sngPayAmount - 50
Loop Until sngPayAmount > 150


A) Both loops are executed in an identical manner.
B) The first loop will never be executed while the second loop will execute once.
C) The first loop will execute one more time than the second loop.
D) The first loop will never be executed while the second is an infinite loop.

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents