Write a QBasic statement that picks a random integer from 0 to 29,999.
LET NUMBER = INT( 30000*RND ) ' pick a random number 0 to 29,999
Remember the first two steps of the program:
Fill in the blanks of the following program so that it does those two steps:
LET NUMBER = _______________________ ' SCREEN 12 FOR DOT = 1 to ________ LET X = INT( 640*RND ) ' pick a random column 0 to 639 LET Y = INT( 480*RND ) ' pick a random row 0 to 479 PSET( X, Y) ' draw the random point NEXT DOT ' END
Fill in the two blanks.