> umm i would write the formulas...declare the 
> variables...and use a for
> statement..is that wright

What I meant was more along the lines of:

For each of the ten lines...
  Skip the right number of squares
  For each of the numbers
    Write the number in the square

This is known as pseudocode. By writing it out like this, 
you force yourself to think about the problem logically and 
break it down into smaller steps.

The next stage is to develop the pseudocode, so that you get 
a proper algorithm for "Skip the right number of squares" --  
what is the right number? And each of the other rather vague 
statements.

This process of stepwise refinement will eventually lead you 
to a definition of the problem which can easily be converted 
into a program, in whatever language you choose.

Have a go at it and post your pseudocode here.

David

Reply via email to