Q29.
Which one of the following options is the
correct syntax of the DO WHILE loop used in
QBasic?
DO WHILE (condition)
Set of instructions
LOOP
DO WHILE (condition)
Set of instructions
DO (condition)
Set of instructions
DO WHILE
Set of instructions
LOOP
Answers
Answered by
0
Explanation:
Syntax. do { statement(s); } while( condition ); Notice that the conditional expression appears at the end of the loop, so the statement(s) in the loop executes once before the condition is tested. If the condition is true, the flow of control jumps back up to do, and the statement(s) in the loop executes again.
Similar questions