輸入10個(gè)數(shù),找出其中絕對(duì)值最小的數(shù),將它和最后一個(gè)數(shù)交換,然后輸出這10個(gè)數(shù)。
十個(gè)數(shù)
交換后的十個(gè)數(shù)
10 2 30 40 50 60 70 80 90 100
10 100 30 40 50 60 70 80 90 2
加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油加油