The same sort of code, initially set numerical number is five sorting, but later changed to "3" and then run,
The compiler or the default number "5"
What reason is this?
CodePudding user response:
I see you start the console input number 5 "1 2 3 4 5", back into the input number 3 "1 5 4", that's rightCodePudding user response:
But the first piece of code I N value is set to 3, arguably, I then Enter three inputs can directly compare the size, but the first paragraph will lose five numberCodePudding user response:
Because you neglect a detailCodePudding user response:
Should be before which is not clearCodePudding user response:
The