Hi guys. I cant do this right. Please help me.
whatever I type, I always get the loop to repeat. I want the loop to end when i either get sciss, paper or stone as an answer. Otherwise I wanna repeat the loop.
is something wrong with this function?
int human_choice(int choice)
printf("sciss, stone or paper?");
This statistic is for scissor, paper stone game.
If I win, then X++, if Computer win then Y++.
If draw then Z++.
If i dont put a value in x,y,z then it will automatically take a random value itself.
But if I make them zero, then I think it will start with zero each time i return to this function. And that is not good.