Hila Research Centre Computer Programming - 8 Using INPUT with graphics: SCREEN 9 ' 640 x 350 graphics mode PRINT ' Prints blank line PRINT " This program allows the user to create and paint a circle." PRINT "This program created by Jane Smith." PRINT INPUT "Enter first coordinate for center of circle - ",x INPUT "Enter second coordinate for center of circle - ",y PRINT INPUT "Enter radius of circle - ",r PRINT INPUT "Enter colour of circle - ",c CLS PRINT "Here is your circle!" CIRCLE (x,y),r,c CHALLENGE: Add a DO-LOOP to the above program. Add a line to PAINT the circle a chosen colour. INKEY$: The command INKEY$, checks to see if a key has been pressed. Try this: DO a$ = INKEY$ PRINT a$ SLEEP 1 LOOP UNTIL a$ = "x" ' exits loop when "x" is pressed. Try this: DO a$ = INKEY$ IF a$ = "b" THEN BEEP LOOP UNTIL a$ = "x"