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

CLS

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

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

