[Solved] How to add more choices in Rock Paper Scissors using this code in C [closed]
A little bit of an advice: Keep everything as numbers for as long as possible. As you maybe noticed, handling strings is quite tedious. So you have inputs of both cpu and user. Now this makes two numbers.. Then its time for a switch or therealike: switch (user) case 1: if (cpu==1){ printf(‘draw’); }elseif (cpu==2 … Read more