Answer:

The correct condition is NUMBER >= 0

Complete Program

Now the program looks like:

'
' Do something or other until a 
' sentinel value is entered
'
PRINT "Enter first number"       
INPUT NUMBER                 
'
DO WHILE  NUMBER >= 0
  PRINT SQR ( NUMBER )
  PRINT "Enter the next number."       
  INPUT NUMBER                 
LOOP
PRINT "Bye"
END

Now all the blanks in the scheme for DO WHILE loops have been filled and the program is complete. (Remember that the "...do beginning things..." blank did not need to be filled.) It would be a really good idea to type this program into the QBasic window and to play with it.

QUESTION 19:

Will your hand calculator and QBasic give the same answer for, say, the square root of 3.00 ?