Because there is no termination conditions while loop, and it will have been circulating
CodePudding user response:
Because the first the scanf in cycle in vitro, executed only once. If you don't write this line, so while there's no need for the it, anyway, you even once,