What is the function and syntax of DO ….. LOOP WHILE statement?
- To execute a function of statements in a loop as long as a given condition is true.
LOOP WHILE (condition)
REM a program to print series from 1 to 10
c = 1
c = c + 1
LOOP WHILE c <= 10