Practise Exercise - Ungraded

Watch the video on Loops from the QBasic Tutorial Series.
Re-type the same program into your QBasic editor to see how this program runs.

Hands-On Activity No. 1 (QBasic Programming) Graded

 Create a QBasic program that will accept the numbers 1 to 10 in sequence and prints the square of each number.  Use a counter to keep track of the entries.  Once the number 10 has been entered, the program will print out the square of the number 10 and then finally quit the program.