Just change scanf("%c",&one);
to scanf(" %c",&one);
and scanf("%c",&two);
to scanf(" %c",&two);
scanf function seems to be skipped in c
1
solved C Programming Rock-Paper-Scissors Not Working [duplicate]
Just change scanf("%c",&one);
to scanf(" %c",&one);
and scanf("%c",&two);
to scanf(" %c",&two);
scanf function seems to be skipped in c
1
solved C Programming Rock-Paper-Scissors Not Working [duplicate]