CodePudding user response:
Logic code details didn't see this input you can write at leastThe scanf don't read char this C implementation is easy to get into circle if they understand why it is better to remember later don't be so use
The fflush (stdin);
C=getchar ();
CodePudding user response:
Remove the scanf in '\ n', and then try to