if and loop statements to make a judgment on the line, is in accordance with the order of data storage or input, every 2 numbers for comparison, each comparison is to choose a larger number and the next data comparison, so that the last comparison in the larger number is the maximum value of the 10 data.
I hope this helps.
I hope this helps.