
CodePudding user response:
Gets () there is no guarantee that give you the input string to add '\ n' to the end, so the end conditions for statement should think of some way to the other

CodePudding user response:
Gets () there is no guarantee that give you the input string to add '\ n' to the end, so the end conditions for statement should think of some way to the other