(PRICE starts out at 20000) Type 1 if you want pin stripes, 0 if not ? 1 (Now 250 is added to PRICE, making it 20250) Type 1 if you want anti-lock brakes, 0 if not ? 1 (Now 800 is added to PRICE, making it 21050) Final price: 21050
Here is the description of a new program:
Draw a circle of radius 50 in the center of the screen. Pause, then draw the circle again with a different color. Continue pausing and drawing 100 times. Each time the circle is drawn it is drawn in a new color (but one of the 15 possible colors).
It has been a while since we have done a graphics program
so lets start out slowly.
Remember that a graphics program has to send signals to
set up the
graphics board with a SCREEN
statement.
We will always use screen 12.
To draw a circle, use the command:
CIRCLE (centerX, centerY),radius
Let us start out with a program that draws a circle of radius 50 centered at X=320, Y=240:
' Draw one circle SCREEN 12 CIRCLE (320, 240),50 END
The size of screen number 12 is 640 in X by 480 in Y. About where on the screen will this circle be?