' DO-1.BAS
' This program demonstrates a DO WHILE loop.  Notice
'   that the condition is at the top of the loop.

CLS

INPUT "Please enter a number between 10 and 15:  ", userNum%
PRINT

DO WHILE userNum% >= 10
    COLOR userNum%
    PRINT "The value of userNum% is"; userNum%
    userNum% = userNum% - 1   ' decrement userNum% by 1
LOOP

