Figure 14-4.Symmetric pattern 1

That’s enough to knock your eyes right out of their sockets! And all that from a single one-dimensional array.

Variations

The computer completely controls your symmetric pattern, dot for dot. Small changes in the program can affect the pattern in a big way. For example, try this simple change in line 300:

300 FOR K=0 TO 0

And RUN the program again:

Notice in your printout (or in Figure 14-5) that each string of ones and zeros in the array prints only once. The K loop in line 300 controls the repetitions of these strings.

195