Search:

Type: Posts; User: jegland

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    5,895

    Well I added this: for(seed; seed

    Well I added this:




    for(seed; seed <= size; seed++)

    {
    cout << seed << " ";
    }
  2. Replies
    4
    Views
    5,895

    ugh, it messed up the triangle 1 2 4 7 2 7...

    ugh, it messed up the triangle

    1 2 4 7 2 7
    --3 5 8 3 8
    ----6 9 4 9
    ------1 5 1
    ---------6 2
    -----------3

    Thats how its supposed to look, ignore the dashes
  3. Replies
    4
    Views
    5,895

    Parkside's Other Triangle

    Here's what the book says:
    Parkside's Other Triangle is generated from two positive integers, one for the size and one for the seed. For example,

    Size 6, Seed 1

    1 2 4 7 2 7
    3 5 8 3 8
    ...
Results 1 to 3 of 3