CodePudding user response:
Input into an array, the Max and min=num [0], through the array, if -- -- -- -- -- --, output Max, min, goneCodePudding user response:
Oh no ~ ~ ~Is to get rid of Max, min, you can add a judgment when output, if not equal to the number of these two output, also can remember them subscript, and then take the subscript judgment
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html