I am working on a rock paper scissors program, but this time the computer chooses rock half the time, scissors a third of the time, and paper only one sixth of the time. The
I am not sure what you doing, but switch statement should look like this
switch(computer) { case rock1: case rock2: case rock3: c = 1; break; case scissors1: case scissors2: c = 3; break; case paper: c = 2; break; }