The first console can understand
The second input the number 12, where the three ran behind, why does not affect the program



CodePudding user response:
The first console after the first line and press enter, why won't the resultsCodePudding user response:
Because there is no end of cycle, don't lose enough number nine, cycle will not quit, the following statement natural won't run,CodePudding user response:
Although input 12 scanf_s receive only nine, the other three should be lost,Enter a carriage return, then brush past three data to memory, circulation actually doesn't end, still waiting for the input,