If you haven't learnt arrays then just use 6 variables. Use an if statement to determine which variable to increment.
Type: Posts; User: Junky
If you haven't learnt arrays then just use 6 variables. Use an if statement to determine which variable to increment.
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.