Computer Science, asked by laikangbamnong0, 2 days ago

How many times will the following loops execute? a. X=1
DO WHILE X
PRINT X
X= X + 2
LOOP​

Answers

Answered by ksatyam3661
0

Answer:

Use the LOOP statement to start a LOOP...REPEAT program loop. A program loop is a series of statements that executes for a specified number of repetitions or until specified conditions are met.

Use the WHILE clause to indicate that the loop should execute repeatedly as long as the WHILE expression evaluates to true (1). When the WHILE expression evaluates to false (0), repetition of the loop stops, and program execution continues with the statement following the REPEAT statement.

Use the UNTIL clause to put opposite conditions on the LOOP statement. The UNTIL clause indicates that the loop should execute repeatedly as long as the UNTIL expression evaluates to false (0).

Explanation:

please mark my brainlist

Similar questions