Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. Thread: help with array

    by Norm
    Replies
    10
    Views
    1,078

    [SOLVED] Re: help with array

    The {}s are missing. The code should have them.


    It is doing integer divides: 3/4 = 0
    vs floating point: 3/4.0 = 0.75
  2. Thread: help with array

    by Norm
    Replies
    10
    Views
    1,078

    [SOLVED] Re: help with array

    For debugging, print out the value of numberAsterisk so you can see what the code is doing.


    One problem is a for statement does NOT have {}s enclosing the statement(s) that are supposed to be...
  3. Thread: help with array

    by Norm
    Replies
    10
    Views
    1,078

    [SOLVED] Re: help with array

    Another way to handle it would be to use the sum of the die without changing their sum to be 0 based (-2) and to make an array large enough to be indexed by 12 and leave the first two slots in the...
Results 1 to 3 of 3