I am trying to generate random integers for a game, and then display the values as a hand for the player and the computer. The problem is that it prints out the hands multiple times; essentially leaving all values as zeros and randomizing each value in the array one at a time, and reprinting the hand as it changes each value.
Can someone point out what I am doing that would cause this, and maybe how to fix it.
And these are the results I keep getting: