2023-6-1作业 补
从命令行传参两个整数,1代表从几开始求和,2代表求和到整数及为止
expr $1 + $2
if [ $? -eq 0 ]
then
for i in $(seq $1 $2)
do
((sum+=i))
done
echo $sum
fi