摘要: min=$1max=$1sum=0for i in "$@"do if [ $min -gt $i ]then min=$ifiif [ $max -lt $i ]then max=$ifisum=$[ $sum+ $i ]doneecho "最大值为:"$maxecho "最小值为:"$minec 阅读全文
posted @ 2020-07-03 19:07 小屁屁呕 阅读(331) 评论(0) 推荐(0)