Programs and puzzles
Here and on the next few pages, there are programs to try and puzzles to solve. They all involve BASIC commands covered in this book.
Words and spaces
Try this program. It makes the computer display words next to each other on the screen.
10 CLS 20 PRINT "RED";"ROSE" 30 PRINT "BLACK";"COAL" 40 PRINT "WHITE" ;"SNOW"
See if you can change the
PRINT lines to make spaces
between the words, as shown in #2 below.

Can you change the PRINT
lines again so the computer
arranges the words in two
columns like in #3?
Star lines
Run this program to make your computer display a line of stars at the side of the screen.
10 CLS 20 FOR K=1 TO 10 30 PRINT TAB(3);"*" 40 NEXT K
By changing the number
after TAB, can you put the
stars in the middle of the screen?
Can you change the program again to make a line of stars across the screen, like this?
