Contolling the variable changed depending on the input.

I am making a tic tac toe game and need the players to enter an input to permanently change a certain variable.
for e.g if I had a character variable called A and another called B I would want A to change to '0' when the inout is 1 and B to change to '0' when the input is two. I need this to happen for nine variable. How would I do this. Thanks in advance.
 
 
closed account (48T7M4Gy)
I need this to happen for nine variable. How would I do this.


Our crack team of homework providers have been assigned to your project so just sit back and relax.
Topic archived. No new replies allowed.