16th Jan 2018, 8:31 AM
vinay megharaj
vinay megharaj - avatar
2 Answers
+ 1
You have to leave a whitsespace like this scanf(" %c",&z); I don't know the exact reason, but apparently it's a common problem when you've multiple inputs at the same time. I hope this already helps a bit :)
16th Jan 2018, 9:06 AM
Jente
+ 1
Yeah it's working
16th Jan 2018, 9:09 AM
vinay megharaj
vinay megharaj - avatar