What is the function and syntax of DO UNTIL ….. LOOP statement?
- This is used to execute a function of instruction for a given number of times.
DO UNTIL (condition)
REM a program to print series from 1 to 10
c = 1
DO UNTIL c = 11 (this number will not be displayed)
c = c + 1