11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MAKING TWO LISTSEnter10 REM PHONE LIST30 DIM NAME$(20), NUMBER$(20)35 1=040 PRINT "clr dn ENTER DATA dn"50 INPUT" NAME ";N$55 IF N$="END" THEN END56 NA$(I)=N$60 INPUT " NUMBER ";NU$(I)65 PRINT70I=I+1:GOTO50Run. Press STOP key to stop program. Save to tape.ONE DIMENSION, TWO DIMENSION,...The arrays which have one index are called one dimensional arrays.But arrays can have two or more indices. Two dimensional arrays have their "familymembers" put into a rectangle like the days in a month on a calendar.EIGHT QUEENSThe Eight Queens puzzle asks you to put eight chess queens on the chess board in such away that no queen is attacked by any other. If you are not familiar with chess, look upthe moves of the queen in an encyclopedia. Obviously you can't have two queens on thesame row or column. Queens attack along the diagonal also. There are 92 patterns ofqueens on the board which solve this puzzle.172

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!