Search:

Type: Posts; User: Sean4u

Search: Search took 0.18 seconds.

  1. Replies
    3
    Views
    1,443

    Re: Creating number Pyramids with For Loops

    You need an outer 'loop forever' with two inner loops. Inside the outer loop the first inner loop loops from min to max - 1, then it exits. The second inner loop loops from max to min + 1, then...
  2. Replies
    3
    Views
    1,443

    Re: Creating number Pyramids with For Loops

    You can look at it as two sequences, one like this:

    and one like this

    A loop that does those two over and over could be about right
Results 1 to 2 of 2