#!/bin/sh
for i in `seq 9`
do
for j in `seq $i`
do
printf "%d*%d=%d " $i $j $(expr $i \* $j)
done
echo ""
done
ubuntu shell实现99乘法表
最新推荐文章于 2024-07-04 11:15:23 发布
#!/bin/sh
for i in `seq 9`
do
for j in `seq $i`
do
printf "%d*%d=%d " $i $j $(expr $i \* $j)
done
echo ""
done