Search:

Type: Posts; User: Junky

Search: Search took 0.26 seconds.

  1. Replies
    3
    Views
    1,127

    Re: help with an accumulator

    If you haven't learnt arrays then just use 6 variables. Use an if statement to determine which variable to increment.
  2. Replies
    3
    Views
    1,127

    Re: help with an accumulator

    Use an int array. For each random number increment one of the ints in the array. This can be done with a single line of code for all numbers 1 - 6.
Results 1 to 2 of 2