If the input number, in turn, is in an infinite loop,,,
There are big explain? How to correct?

CodePudding user response:
Learn to debug, the problem shall soon find out,

CodePudding user response:
Learn to debug, the problem shall soon find out,